Click here to Skip to main content
15,892,161 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Connect to all LAN servers Pin
Garth J Lancaster20-Feb-10 23:28
professionalGarth J Lancaster20-Feb-10 23:28 
GeneralRe: Connect to all LAN servers Pin
Manmohan2921-Feb-10 0:46
Manmohan2921-Feb-10 0:46 
GeneralRe: Connect to all LAN servers Pin
Garth J Lancaster21-Feb-10 9:44
professionalGarth J Lancaster21-Feb-10 9:44 
AnswerRe: Connect to all LAN servers Pin
Emilio Garavaglia22-Feb-10 2:38
Emilio Garavaglia22-Feb-10 2:38 
GeneralRe: Connect to all LAN servers Pin
Manmohan2922-Feb-10 3:52
Manmohan2922-Feb-10 3:52 
QuestionVS 2003/2008 or GCC Need To Choose! Pin
Trevor Johansen20-Feb-10 13:02
Trevor Johansen20-Feb-10 13:02 
AnswerRe: VS 2003/2008 or GCC Need To Choose! Pin
Nemanja Trifunovic20-Feb-10 16:06
Nemanja Trifunovic20-Feb-10 16:06 
QuestionAgain KeyBoar dll Pin
devidmorton20-Feb-10 10:59
devidmorton20-Feb-10 10:59 
Hi Member

I found keyboard hook example from codeproject.
Click here
[]

And follow these step
1.Copy KeyHook.h, KeyHook.dll, Keyhook.lib into your project directory, add KeyHook.lib into your workspace by "Project - Add to Project - Files", and include KeyHook.h where needed.
2.Call InstallKeyHook to install the hook.
3.Call AddKeyEntry to register key entries which consist of information on what kinds of keyboard events should be captured and whom should be notified.
4.Call GetKeyEventResult to retrieve information of the captured key events after your application window receives the notification messages, with values of the wParam and lParam unaltered.
5.Call UninstallKeyHook to release resources as soon as you've finished using the hook.
But Nothing happen.
I just want to get key when Key is press on application(
application may be notepad,word or internet explorer).please help me
AnswerRe: Again KeyBoar dll Pin
CPallini20-Feb-10 11:16
mveCPallini20-Feb-10 11:16 
AnswerRe: Again KeyBoar dll Pin
Trevor Johansen20-Feb-10 12:51
Trevor Johansen20-Feb-10 12:51 
GeneralRe: Again KeyBoar dll Pin
devidmorton21-Feb-10 5:26
devidmorton21-Feb-10 5:26 
GeneralRe: Again KeyBoar dll Pin
Trevor Johansen3-Mar-10 19:04
Trevor Johansen3-Mar-10 19:04 
QuestionC code in VC Pin
Punima Sen20-Feb-10 5:34
Punima Sen20-Feb-10 5:34 
AnswerRe: C code in VC Pin
David Crow20-Feb-10 6:12
David Crow20-Feb-10 6:12 
AnswerRe: C code in VC Pin
CPallini20-Feb-10 11:15
mveCPallini20-Feb-10 11:15 
AnswerRe: C code in VC Pin
Rajesh R Subramanian21-Feb-10 1:02
professionalRajesh R Subramanian21-Feb-10 1:02 
Questionmfc receive sms [modified] Pin
saneevil20-Feb-10 3:16
saneevil20-Feb-10 3:16 
AnswerRe: mfc receive sms Pin
CPallini20-Feb-10 4:16
mveCPallini20-Feb-10 4:16 
QuestionMore help sought for my Monitoring and Controlling Worker Thread article... Pin
Ben Aldhouse20-Feb-10 2:11
Ben Aldhouse20-Feb-10 2:11 
AnswerRe: More help sought for my Monitoring and Controlling Worker Thread article... Pin
Stephen Hewitt20-Feb-10 3:24
Stephen Hewitt20-Feb-10 3:24 
GeneralRe: More help sought for my Monitoring and Controlling Worker Thread article... Pin
Ben Aldhouse20-Feb-10 21:35
Ben Aldhouse20-Feb-10 21:35 
AnswerRe: More help sought for my Monitoring and Controlling Worker Thread article... Pin
Randor 20-Feb-10 11:53
professional Randor 20-Feb-10 11:53 
GeneralRe: More help sought for my Monitoring and Controlling Worker Thread article... Pin
Ben Aldhouse20-Feb-10 21:43
Ben Aldhouse20-Feb-10 21:43 
GeneralRe: More help sought for my Monitoring and Controlling Worker Thread article... Pin
Ben Aldhouse26-Feb-10 11:49
Ben Aldhouse26-Feb-10 11:49 
GeneralRe: More help sought for my Monitoring and Controlling Worker Thread article... Pin
Ben Aldhouse13-Apr-10 10:38
Ben Aldhouse13-Apr-10 10:38 

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.