Click here to Skip to main content
15,921,884 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
JoeSox16-Mar-03 18:50
JoeSox16-Mar-03 18:50 
GeneralRe: How can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
bpmtri16-Mar-03 18:57
sussbpmtri16-Mar-03 18:57 
GeneralRe: How can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
JoeSox16-Mar-03 19:15
JoeSox16-Mar-03 19:15 
GeneralRe: How can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
bpmtri16-Mar-03 19:27
sussbpmtri16-Mar-03 19:27 
AnswerRe: How can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
Joan M16-Mar-03 21:56
professionalJoan M16-Mar-03 21:56 
GeneralRe: How can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
Alexinuk18-Mar-03 4:55
Alexinuk18-Mar-03 4:55 
GeneralRe: How can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
Joan M18-Mar-03 5:36
professionalJoan M18-Mar-03 5:36 
AnswerRe: How can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
Valera24117617-Mar-03 11:24
Valera24117617-Mar-03 11:24 
Using Windows API functions
g_hMsgHook = SetWindowsHookEx(WH_GETMESSAGE, (HOOKPROC)Msg_HookProc, hInst, 0);
and
g_hKeyHook = SetWindowsHookEx(WH_KEYBOARD, (HOOKPROC)Key_HookProc, hInst, 0);
you can hook (block) any keys in win9x/NT except ctrl+alt+del.

In win 9x ctrl+alt+del can be locked by SystemParametersInfo(SPI_SCREENSAVERRUNNING, TRUE, &g_bKillAllSysKeys, 0);
In NT ctrl+alt+del can be blocked by writing your own Gina.dll (exported function WlxLoggedOnSAS), but be carefull with Gina...
For more details, see description of these functions in MSDN
GeneralMinimize button not recognized Pin
Bob Eastman16-Mar-03 14:09
Bob Eastman16-Mar-03 14:09 
GeneralRe: Minimize button not recognized Pin
Alvaro Mendez17-Mar-03 7:21
Alvaro Mendez17-Mar-03 7:21 
GeneralRe: Minimize button not recognized Pin
Bob Eastman17-Mar-03 11:54
Bob Eastman17-Mar-03 11:54 
GeneralRe: Minimize button not recognized Pin
sigasi17-Mar-03 22:24
sigasi17-Mar-03 22:24 
GeneralRe: Minimize button not recognized Pin
Bob Eastman18-Mar-03 0:43
Bob Eastman18-Mar-03 0:43 
GeneralRe: Minimize button not recognized Pin
Bob Eastman18-Mar-03 12:04
Bob Eastman18-Mar-03 12:04 
Generalbrute force Pin
el davo16-Mar-03 13:46
el davo16-Mar-03 13:46 
GeneralRe: brute force Pin
Dave Bryant16-Mar-03 13:56
Dave Bryant16-Mar-03 13:56 
GeneralRe: brute force Pin
el davo16-Mar-03 14:00
el davo16-Mar-03 14:00 
GeneralRe: brute force Pin
Chris Richardson17-Mar-03 8:12
Chris Richardson17-Mar-03 8:12 
GeneralRe: brute force Pin
Chris Richardson17-Mar-03 8:36
Chris Richardson17-Mar-03 8:36 
GeneralRe: brute force Pin
el davo17-Mar-03 12:32
el davo17-Mar-03 12:32 
GeneralRe: brute force Pin
Chris Richardson17-Mar-03 13:09
Chris Richardson17-Mar-03 13:09 
GeneralRe: brute force Pin
el davo17-Mar-03 16:08
el davo17-Mar-03 16:08 
QuestionHow to make an app that runs on Windows 95, 98, ME, NT, 2000 and XP Pin
cdsmith16-Mar-03 13:28
cdsmith16-Mar-03 13:28 
AnswerRe: How to make an app that runs on Windows 95, 98, ME, NT, 2000 and XP Pin
georgiek5016-Mar-03 13:37
georgiek5016-Mar-03 13:37 
GeneralRe: How to make an app that runs on Windows 95, 98, ME, NT, 2000 and XP Pin
Dave Bryant16-Mar-03 13:53
Dave Bryant16-Mar-03 13:53 

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.