Click here to Skip to main content
15,920,688 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Passing by value and printing in function Pin
Chris Losinger16-Mar-03 15:56
professionalChris Losinger16-Mar-03 15:56 
GeneralRe: Passing by value and printing in function Pin
Jambolo16-Mar-03 21:34
Jambolo16-Mar-03 21:34 
QuestionHow can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
bpmtri16-Mar-03 15:15
sussbpmtri16-Mar-03 15:15 
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 
WIN NT BASED OSes ONLY:
-----------------------
KEYBOARD AND MOUSE 1:
Take a look at "systemwide hooks" in MSDN in order to know how to prevent some system keystrokes and the mouse movements...

NOTES:
a system wide hook must be placed in a DLL in order to be systemwide and not application related. (its easier than what it seems).

I use to create two services (take a look at the VC++ assistant and create an ATL service) in order to use those DLL's (remember to keep some way to disbale those services using a password or something else...)

KEYBOARD AND MOUSE 2 (CTRL ALT DEL):
In order to capture those keystrokes, in NT you MUST write down a GINA DLL, this DLL is a security DLL that controls those kind of things, it's for security purposes, you cannot expect that an OS would be secure and to allow any programmer to execute any code that would be able to get the users passwords. (that DLL must be installed in the system and must be placed in it's own registry key).

PS:
Under win9x I remember I had readen something in the MSJ from PAul DiLascia that talked about preventing Ctrl Alt Del using a registry key... try to search for it...

Hope this helps
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 
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 

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.