Click here to Skip to main content
15,914,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalword seperating algorithm Pin
jonavon blakly31-Jan-05 15:51
jonavon blakly31-Jan-05 15:51 
GeneralRe: word seperating algorithm Pin
David Crow31-Jan-05 16:40
David Crow31-Jan-05 16:40 
GeneralRe: word seperating algorithm Pin
jonavon blakly9-Feb-05 15:59
jonavon blakly9-Feb-05 15:59 
GeneralRe: word seperating algorithm Pin
David Crow10-Feb-05 5:28
David Crow10-Feb-05 5:28 
Generalquickcam project Pin
mark18231-Jan-05 14:33
mark18231-Jan-05 14:33 
GeneralRe: quickcam project Pin
mcsherry31-Jan-05 21:48
mcsherry31-Jan-05 21:48 
QuestionWho can help me about hooks using hot-key? Pin
TTT8131-Jan-05 14:02
TTT8131-Jan-05 14:02 
AnswerRe: Who can help me about hooks using hot-key? Pin
RicoH1-Feb-05 0:39
RicoH1-Feb-05 0:39 
First of all, you'll have to make a dll to set a system-wide hook.
In this dll you'll have to register your keyboard hook procedure.
Your hook function will be called on every keypress the user makes, so at that point you check what key has been pressed and with the function 'GetAsyncKeyState' you can see wether ctrl, alt or one of the shift keys is down as well.

Next, you'll have to create an application which loads the dll and call a function in the dll to register the hook procedure (if not done by loading the dll).
If you want to keep things clean you should have a funtion in your dll to unhook your thing if you no longer need it, or close your app...

Don't think you are, know you are...
GeneralIgnore Windows key + M Pin
Mike Hell31-Jan-05 12:36
Mike Hell31-Jan-05 12:36 
GeneralWM_PAINT seems not working Pin
int01hh31-Jan-05 12:28
int01hh31-Jan-05 12:28 
GeneralRe: WM_PAINT seems not working Pin
beerboy_2231-Jan-05 13:31
beerboy_2231-Jan-05 13:31 
GeneralRe: WM_PAINT seems not working Pin
JohnCz31-Jan-05 14:12
JohnCz31-Jan-05 14:12 
GeneralRe: WM_PAINT seems not working Pin
int01hh3-Feb-05 9:02
int01hh3-Feb-05 9:02 
GeneralList Control displays no Text Pin
RobertW10031-Jan-05 8:16
RobertW10031-Jan-05 8:16 
GeneralAnother user interface Thread Question Pin
Tom Wright31-Jan-05 7:39
Tom Wright31-Jan-05 7:39 
Generalpluggab;e protocol handler in MFC Pin
Wim Jans31-Jan-05 7:35
Wim Jans31-Jan-05 7:35 
GeneralSerbian letters problem Pin
User 91483331-Jan-05 7:29
User 91483331-Jan-05 7:29 
GeneralRe: Serbian letters problem Pin
John R. Shaw31-Jan-05 7:54
John R. Shaw31-Jan-05 7:54 
GeneralString bugs out Pin
Gadjuka31-Jan-05 7:23
Gadjuka31-Jan-05 7:23 
GeneralRe: String bugs out Pin
Wes Aday31-Jan-05 9:21
professionalWes Aday31-Jan-05 9:21 
GeneralRe: String bugs out Pin
Gadjuka31-Jan-05 10:47
Gadjuka31-Jan-05 10:47 
GeneralRe: String bugs out Pin
Gadjuka2-Feb-05 12:06
Gadjuka2-Feb-05 12:06 
GeneralMute the volume in Windows XP Pin
Aneurysm0031-Jan-05 7:10
Aneurysm0031-Jan-05 7:10 
GeneralRe: Mute the volume in Windows XP Pin
David Crow31-Jan-05 9:18
David Crow31-Jan-05 9:18 
GeneralRe: Mute the volume in Windows XP Pin
Aneurysm001-Feb-05 3:10
Aneurysm001-Feb-05 3:10 

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.