Click here to Skip to main content
15,907,396 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Restricting access to Windows Pin
James R. Twine4-Jan-07 8:16
James R. Twine4-Jan-07 8:16 
GeneralRe: Restricting access to Windows Pin
Mark Salsbery4-Jan-07 8:18
Mark Salsbery4-Jan-07 8:18 
GeneralRe: Restricting access to Windows Pin
David Crow4-Jan-07 8:23
David Crow4-Jan-07 8:23 
GeneralRe: Restricting access to Windows Pin
Mark Salsbery4-Jan-07 8:28
Mark Salsbery4-Jan-07 8:28 
GeneralRe: Restricting access to Windows Pin
pcfilho4-Jan-07 8:12
pcfilho4-Jan-07 8:12 
GeneralRe: Restricting access to Windows Pin
Mark Salsbery4-Jan-07 8:19
Mark Salsbery4-Jan-07 8:19 
QuestionRe: Restricting access to Windows Pin
pcfilho5-Jan-07 10:07
pcfilho5-Jan-07 10:07 
AnswerRe: Restricting access to Windows Pin
Mark Salsbery5-Jan-07 11:26
Mark Salsbery5-Jan-07 11:26 
I haven't written a keyboard hook so I have no code I can post but a quick search yielded
this article[^] and this article[^]

These should be helpful. Basically once you've installed the hook, in your hook proc you'll
need to look at the key code and if you want to eat the code, return TRUE, otherwise call the
next proc in the hook chain to let the message get processed as usual.

As others have noted, you won't be able to trap ctrl-alt-delete...the first article link above
explains this a bit Smile | :)

Mark
GeneralRe: Restricting access to Windows Pin
pcfilho8-Jan-07 8:49
pcfilho8-Jan-07 8:49 
QuestionRuntime problems in VC++ Express 2005 Pin
fyrebyrd4-Jan-07 7:14
fyrebyrd4-Jan-07 7:14 
QuestionCan I convert HWND to CWnd object Pin
Max++4-Jan-07 7:12
Max++4-Jan-07 7:12 
AnswerRe: Can I convert HWND to CWnd object Pin
David Crow4-Jan-07 7:59
David Crow4-Jan-07 7:59 
GeneralRe: Can I convert HWND to CWnd object Pin
James R. Twine4-Jan-07 8:08
James R. Twine4-Jan-07 8:08 
AnswerRe: Can I convert HWND to CWnd object Pin
Mark Salsbery4-Jan-07 8:07
Mark Salsbery4-Jan-07 8:07 
AnswerRe: Can I convert HWND to CWnd object Pin
James R. Twine4-Jan-07 8:13
James R. Twine4-Jan-07 8:13 
GeneralRe: Can I convert HWND to CWnd object Pin
Mark Salsbery4-Jan-07 8:16
Mark Salsbery4-Jan-07 8:16 
AnswerRe: Can I convert HWND to CWnd object Pin
Stephen Hewitt4-Jan-07 12:05
Stephen Hewitt4-Jan-07 12:05 
AnswerRe: Can I convert HWND to CWnd object Pin
Hamid_RT4-Jan-07 18:03
Hamid_RT4-Jan-07 18:03 
AnswerRe: Can I convert HWND to CWnd object Pin
prasad_som4-Jan-07 18:05
prasad_som4-Jan-07 18:05 
QuestionXP style warning when caps lock on when entering password Pin
thefainster4-Jan-07 6:11
thefainster4-Jan-07 6:11 
AnswerRe: XP style warning when caps lock on when entering password Pin
James R. Twine4-Jan-07 6:36
James R. Twine4-Jan-07 6:36 
GeneralRe: XP style warning when caps lock on when entering password Pin
thefainster4-Jan-07 7:20
thefainster4-Jan-07 7:20 
GeneralRe: XP style warning when caps lock on when entering password Pin
James R. Twine4-Jan-07 8:19
James R. Twine4-Jan-07 8:19 
GeneralRe: XP style warning when caps lock on when entering password Pin
thefainster4-Jan-07 9:47
thefainster4-Jan-07 9:47 
QuestionBitmap in ListCtrl - transparent bgtext color? Pin
thefainster4-Jan-07 4:50
thefainster4-Jan-07 4:50 

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.