Click here to Skip to main content
16,015,755 members
Home / Discussions / C#
   

C#

 
Questionvalidating question Pin
rzvme11-Jan-07 23:42
rzvme11-Jan-07 23:42 
AnswerRe: validating question Pin
Guffa12-Jan-07 0:48
Guffa12-Jan-07 0:48 
GeneralRe: validating question Pin
rzvme12-Jan-07 0:51
rzvme12-Jan-07 0:51 
QuestionNeed Basic Help or Samples About DataGrid [modified] Pin
M Riaz Bashir11-Jan-07 23:23
M Riaz Bashir11-Jan-07 23:23 
AnswerRe: Need Basic Help or Samples About DataGrid Pin
Ravi Bhavnani12-Jan-07 2:59
professionalRavi Bhavnani12-Jan-07 2:59 
Questionhow to override the priority of an event Pin
kalaveer11-Jan-07 23:05
kalaveer11-Jan-07 23:05 
AnswerRe: how to override the priority of an event Pin
Seishin#12-Jan-07 0:11
Seishin#12-Jan-07 0:11 
AnswerRe: how to override the priority of an event Pin
S. Senthil Kumar12-Jan-07 6:48
S. Senthil Kumar12-Jan-07 6:48 
Conceptually, the Windows GUI architecture works by having a message queue containing the list of inputs a window has received and a message pump that pops items off the queue and executes their corresponding handlers one by one. In your case, the keypress event will be put in the queue and won't be processes until the button click handler completes.

To get around this, you could delegate the button click handler code to a separate thread. This way, the button click handler returns quickly and the message pump processes your keypress. Of course, you would still need to code the handler of the keypress event and abort logic of the button click handler.


Regards
Senthil [MVP - Visual C#]
_____________________________
My Blog | My Articles | My Flickr | WinMacro

Questionchanging data type of a column of datatable with data Pin
amitcoder8311-Jan-07 22:38
amitcoder8311-Jan-07 22:38 
QuestionAdding own descriptions to intelli sense Pin
JacquesDP11-Jan-07 22:34
JacquesDP11-Jan-07 22:34 
AnswerRe: Adding own descriptions to intelli sense Pin
stancrm11-Jan-07 23:15
stancrm11-Jan-07 23:15 
GeneralRe: Adding own descriptions to intelli sense Pin
JacquesDP11-Jan-07 23:30
JacquesDP11-Jan-07 23:30 
GeneralRe: Adding own descriptions to intelli sense Pin
JacquesDP12-Jan-07 0:15
JacquesDP12-Jan-07 0:15 
QuestionCalling Managed code from c# dll. Is it possible? Pin
chandraskar11-Jan-07 22:33
chandraskar11-Jan-07 22:33 
AnswerRe: Calling Managed code from c# dll. Is it possible? Pin
Guffa11-Jan-07 22:55
Guffa11-Jan-07 22:55 
Questionregarding datagridview printing option in c# winforms Pin
vsekharbandaru11-Jan-07 22:03
vsekharbandaru11-Jan-07 22:03 
Questionhow to manage Device(s) from USB port ? Pin
hdv21211-Jan-07 21:56
hdv21211-Jan-07 21:56 
QuestionHowTo Get version of ActiveX on client & Update Pin
gholbrook11-Jan-07 21:22
gholbrook11-Jan-07 21:22 
QuestionHow to select a cell of a column of a list View?? Pin
Saira Tanwir11-Jan-07 19:14
Saira Tanwir11-Jan-07 19:14 
AnswerRe: How to select a cell of a column of a list View?? Pin
Nader Elshehabi11-Jan-07 21:32
Nader Elshehabi11-Jan-07 21:32 
AnswerRe: How to select a cell of a column of a list View?? Pin
CPallini11-Jan-07 22:37
mveCPallini11-Jan-07 22:37 
Questionhow to read information from pdf files Pin
deepualuru11-Jan-07 18:32
deepualuru11-Jan-07 18:32 
QuestionMonitor letter Drive (D:) Pin
picasso211-Jan-07 18:15
picasso211-Jan-07 18:15 
AnswerRe: Monitor letter Drive (D:) Pin
stancrm11-Jan-07 19:53
stancrm11-Jan-07 19:53 
AnswerRe: Monitor letter Drive (D:) Pin
Nader Elshehabi11-Jan-07 21:37
Nader Elshehabi11-Jan-07 21:37 

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.