Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
GeneralRe: I don't understand the wndProc, PreProcessMessage and how to use it's inparameter message Pin
fiaolle29-Sep-11 10:09
fiaolle29-Sep-11 10:09 
GeneralRe: I don't understand the wndProc, PreProcessMessage and how to use it's inparameter message Pin
Richard MacCutchan29-Sep-11 21:36
mveRichard MacCutchan29-Sep-11 21:36 
AnswerRe: I don't understand the wndProc, PreProcessMessage and how to use it's inparameter message Pin
BillWoodruff1-Oct-11 18:45
professionalBillWoodruff1-Oct-11 18:45 
QuestionListBox Binding Pin
Samir.Sh28-Sep-11 21:03
Samir.Sh28-Sep-11 21:03 
AnswerRe: ListBox Binding Pin
Dalek Dave28-Sep-11 21:46
professionalDalek Dave28-Sep-11 21:46 
AnswerRe: ListBox Binding Pin
BobJanova28-Sep-11 22:24
BobJanova28-Sep-11 22:24 
Questioncalling all datagridview experts Pin
Tom Paronis28-Sep-11 8:47
Tom Paronis28-Sep-11 8:47 
AnswerRe: calling all datagridview experts Pin
Eddy Vluggen28-Sep-11 9:40
professionalEddy Vluggen28-Sep-11 9:40 
Tom Paronis wrote:
dataGridView1.CurrentCell = dataGridView1[e.RowIndex, e.ColumnIndex]; and it doesn't seem to work. I've found (and tried) more cumbersome ways to do it but I always prefer the simple approach. Could it have something to do with the fact that I call the function from the OnCellValidated method after I've tabbed out of the cell with bad data?

That's very likely; can you post the content of the event here, in PRE tags, and tell us what you're trying to achieve?

You shouldn't be doing any validation in there; that should be done in the OnCellValidating event. That provides a way to "cancel" the action (see it's eventargs) and have the user not move to the next cell. To which cell do you want the user to go when he's trying to tab out of a non-valid entry?
Bastard Programmer from Hell Suspicious | :suss:

GeneralRe: calling all datagridview experts Pin
Tom Paronis28-Sep-11 11:07
Tom Paronis28-Sep-11 11:07 
AnswerRe: calling all datagridview experts Pin
Luc Pattyn28-Sep-11 11:00
sitebuilderLuc Pattyn28-Sep-11 11:00 
GeneralRe: calling all datagridview experts Pin
BobJanova28-Sep-11 22:30
BobJanova28-Sep-11 22:30 
QuestionHelp Pin
mazroni28-Sep-11 8:34
mazroni28-Sep-11 8:34 
AnswerRe: Help Pin
Eddy Vluggen28-Sep-11 9:46
professionalEddy Vluggen28-Sep-11 9:46 
QuestionOutlook 2007 Add-In Crashes Occasionally Pin
Matt U.28-Sep-11 3:56
Matt U.28-Sep-11 3:56 
QuestionRe: Outlook 2007 Add-In Crashes Occasionally Pin
Eddy Vluggen28-Sep-11 7:36
professionalEddy Vluggen28-Sep-11 7:36 
AnswerRe: Outlook 2007 Add-In Crashes Occasionally Pin
Matt U.28-Sep-11 7:41
Matt U.28-Sep-11 7:41 
GeneralRe: Outlook 2007 Add-In Crashes Occasionally Pin
Eddy Vluggen28-Sep-11 7:48
professionalEddy Vluggen28-Sep-11 7:48 
QuestionNeeded: WinForms CheckBox/RadioButton with HTML Text Pin
Steve Harp28-Sep-11 2:53
Steve Harp28-Sep-11 2:53 
AnswerRe: Needed: WinForms CheckBox/RadioButton with HTML Text Pin
BobJanova28-Sep-11 3:56
BobJanova28-Sep-11 3:56 
AnswerRe: Needed: WinForms CheckBox/RadioButton with HTML Text Pin
BillWoodruff28-Sep-11 3:59
professionalBillWoodruff28-Sep-11 3:59 
GeneralRe: Needed: WinForms CheckBox/RadioButton with HTML Text Pin
Steve Harp28-Sep-11 4:16
Steve Harp28-Sep-11 4:16 
GeneralRe: Needed: WinForms CheckBox/RadioButton with HTML Text Pin
BillWoodruff28-Sep-11 4:41
professionalBillWoodruff28-Sep-11 4:41 
AnswerRe: Needed: WinForms CheckBox/RadioButton with HTML Text Pin
Luc Pattyn28-Sep-11 4:31
sitebuilderLuc Pattyn28-Sep-11 4:31 
AnswerRe: Needed: WinForms CheckBox/RadioButton with HTML Text Pin
Eddy Vluggen28-Sep-11 9:30
professionalEddy Vluggen28-Sep-11 9:30 
QuestionUsing SIP CallOut and SIP UA examples Pin
DEEBETT27-Sep-11 22:53
DEEBETT27-Sep-11 22:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.