Click here to Skip to main content
15,907,905 members
Home / Discussions / C#
   

C#

 
GeneralRe: Pass variable between methods Pin
Boro_Bob20-Oct-06 1:44
Boro_Bob20-Oct-06 1:44 
QuestionWebBrowser embedded in C# Pin
jarlath20-Oct-06 0:19
jarlath20-Oct-06 0:19 
AnswerRe: WebBrowser embedded in C# Pin
Christian Graus20-Oct-06 0:56
protectorChristian Graus20-Oct-06 0:56 
GeneralRe: WebBrowser embedded in C# Pin
jarlath20-Oct-06 1:19
jarlath20-Oct-06 1:19 
QuestionHow do I merge datagrid rows Pin
JacquesDP20-Oct-06 0:09
JacquesDP20-Oct-06 0:09 
QuestionHow to get mouse selection Pin
quiteSmart19-Oct-06 23:26
quiteSmart19-Oct-06 23:26 
AnswerRe: How to get mouse selection Pin
Christian Graus20-Oct-06 0:57
protectorChristian Graus20-Oct-06 0:57 
GeneralRe: How to get mouse selection Pin
quiteSmart20-Oct-06 1:57
quiteSmart20-Oct-06 1:57 
AnswerRe: How to get mouse selection Pin
baerten20-Oct-06 1:00
baerten20-Oct-06 1:00 
QuestionHow to use Progressbar For File.Copy method ? Pin
hdv21219-Oct-06 23:23
hdv21219-Oct-06 23:23 
AnswerRe: How to use Progressbar For File.Copy method ? Pin
Bekjong19-Oct-06 23:48
Bekjong19-Oct-06 23:48 
QuestionProducing a mini dump after an application crash (C#) Pin
raskar19-Oct-06 23:14
raskar19-Oct-06 23:14 
QuestionHow to get size of uncompressed zipfile? Pin
pacesino19-Oct-06 23:11
pacesino19-Oct-06 23:11 
QuestionLoad current datagrid row data into text field Pin
Wargamon19-Oct-06 21:44
Wargamon19-Oct-06 21:44 
QuestionHow to generate a random number [modified] Pin
CodeItWell19-Oct-06 21:23
CodeItWell19-Oct-06 21:23 
AnswerRe: How to generate a random number Pin
seee sharp19-Oct-06 21:33
seee sharp19-Oct-06 21:33 
AnswerRe: How to generate a random number Pin
Guffa19-Oct-06 22:09
Guffa19-Oct-06 22:09 
QuestionHow to get program start directory after using FileDialog Pin
Ramith Sivanarain19-Oct-06 21:23
Ramith Sivanarain19-Oct-06 21:23 
AnswerRe: How to get program start directory after using FileDialog Pin
jjansen19-Oct-06 21:28
jjansen19-Oct-06 21:28 
QuestionProcessing global mouse and keyboard hooks in a secondary thread! Pin
AngryC19-Oct-06 21:07
AngryC19-Oct-06 21:07 
Hello,

I've read the following article:

http://www.codeproject.com/csharp/globalhook.asp

The code is working very well except for the problem the author mentioned:

Question:
I have a long delay when closing applications using hooks by clicking the x button in the titlebar. If I close the application via another event (button click) for example, that works fine.

Answer:
It's a know bug of Microsoft. It has to do with the Windows themes. If you disable the Windows themes, the problem goes away. Another choice is to have the hook code run in a secondary thread.

Can anyone tell me how can I 'have the hook code run in a secondary thread'?

I would really appreciate your help. Thanks.
QuestionUsing IR Port Pin
Ravikumar Patra19-Oct-06 19:21
professionalRavikumar Patra19-Oct-06 19:21 
AnswerRe: Using IR Port Pin
Ashish Derhgawen19-Oct-06 23:23
Ashish Derhgawen19-Oct-06 23:23 
GeneralRe: Using IR Port [modified] Pin
Ravikumar Patra29-Oct-06 17:42
professionalRavikumar Patra29-Oct-06 17:42 
QuestionCommunication internet Pin
nmhai8319-Oct-06 18:54
nmhai8319-Oct-06 18:54 
AnswerRe: Communication internet Pin
seee sharp19-Oct-06 21:40
seee sharp19-Oct-06 21:40 

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.