Click here to Skip to main content
15,918,168 members
Home / Discussions / C#
   

C#

 
GeneralRe: DateTime Formatting - lose the time Pin
Jon Sagara22-Nov-06 9:10
Jon Sagara22-Nov-06 9:10 
GeneralRe: DateTime Formatting - lose the time Pin
Jagannatha10822-Nov-06 9:17
Jagannatha10822-Nov-06 9:17 
GeneralRe: DateTime Formatting - lose the time [modified] Pin
Jon Sagara22-Nov-06 9:29
Jon Sagara22-Nov-06 9:29 
QuestionC# and networking with Ethernet Bridge... Pin
SCSUVulcan21-Nov-06 14:30
SCSUVulcan21-Nov-06 14:30 
AnswerRe: C# and networking with Ethernet Bridge... Pin
Paul Conrad21-Nov-06 15:05
professionalPaul Conrad21-Nov-06 15:05 
AnswerRe: C# and networking with Ethernet Bridge... Pin
Russell Jones21-Nov-06 21:07
Russell Jones21-Nov-06 21:07 
QuestionResources in design-time Pin
Anton Afanasyev21-Nov-06 13:56
Anton Afanasyev21-Nov-06 13:56 
QuestionThreads and KeyBoard Hook Pin
ranzask21-Nov-06 13:24
ranzask21-Nov-06 13:24 
Hi all,

i am using a clasic low-level hook for the keyboard and runing it in the main class:

kBHook = new KeyBoardHook();
kBHook.KeyPress+=new KeyPressEventHandler(kBHook_KeyPress);///
kBHook.KeyDown+=new KeyEventHandler(kBHook_KeyDown);
kBHook.KeyUp+=new KeyEventHandler(kBHook_KeyUp);

so KeyBoardHook is another class on my project.

it happens that when my program is busy doing calculations the keyboard class misses KEYUP/KEYDOWN messages.

so my questions are:
1. how can i make another thread that always listen to messages?
2. can i try to hook to keyboard in a way that i will always get the messages (i need my program to get those msgs before others)

Thank you,


R.Z

AnswerRe: Threads and KeyBoard Hook Pin
Judah Gabriel Himango21-Nov-06 13:29
sponsorJudah Gabriel Himango21-Nov-06 13:29 
GeneralRe: Threads and KeyBoard Hook Pin
ranzask21-Nov-06 13:39
ranzask21-Nov-06 13:39 
GeneralRe: Threads and KeyBoard Hook Pin
Judah Gabriel Himango21-Nov-06 15:39
sponsorJudah Gabriel Himango21-Nov-06 15:39 
GeneralRe: Threads and KeyBoard Hook Pin
ranzask21-Nov-06 22:00
ranzask21-Nov-06 22:00 
GeneralRe: Threads and KeyBoard Hook Pin
Judah Gabriel Himango22-Nov-06 5:44
sponsorJudah Gabriel Himango22-Nov-06 5:44 
QuestionError CS1705 Pin
jimNLX21-Nov-06 10:27
jimNLX21-Nov-06 10:27 
AnswerRe: Error CS1705 Pin
George L. Jackson21-Nov-06 12:54
George L. Jackson21-Nov-06 12:54 
QuestionRemoting and controlling access to properties Pin
Wjousts21-Nov-06 7:51
Wjousts21-Nov-06 7:51 
AnswerRe: Remoting and controlling access to properties Pin
ednrgc21-Nov-06 8:46
ednrgc21-Nov-06 8:46 
AnswerRe: Remoting and controlling access to properties Pin
ednrgc21-Nov-06 8:54
ednrgc21-Nov-06 8:54 
GeneralRe: Remoting and controlling access to properties Pin
Wjousts21-Nov-06 11:04
Wjousts21-Nov-06 11:04 
QuestionWndProc Pin
vincent3121-Nov-06 7:45
vincent3121-Nov-06 7:45 
QuestionRead whole file into memory or just parts that are needed? Pin
Mike Bluett21-Nov-06 7:15
Mike Bluett21-Nov-06 7:15 
AnswerRe: Read whole file into memory or just parts that are needed? Pin
Steve Maier21-Nov-06 9:19
professionalSteve Maier21-Nov-06 9:19 
GeneralRe: Read whole file into memory or just parts that are needed? Pin
Mike Bluett21-Nov-06 9:58
Mike Bluett21-Nov-06 9:58 
GeneralRe: Read whole file into memory or just parts that are needed? Pin
Steve Maier21-Nov-06 10:38
professionalSteve Maier21-Nov-06 10:38 
Questionhow to highlight syntax after loading a file into a richtextbox Pin
veluru krishna21-Nov-06 7:12
veluru krishna21-Nov-06 7:12 

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.