Stop keyevents and mesages
-
Hi! I am working on a security program for children. this program is intended to be a child desktop, the main purpose is to lockout children from windows system. My question is do someone know if there is a smart way to do this? I need to filter keyboard events like ctrl +alt + del and other windows short keys and messages. My program will be like a second desktop leting children run their own programs games etc etc. /Jarek He believed the commercials that said drink beer, get laid but at closin' time he was alone, he didn't get paid. Last night his lover was a razorblade.. "Dan Reed song Mix it up"
What do you want to patch today? -
Hi! I am working on a security program for children. this program is intended to be a child desktop, the main purpose is to lockout children from windows system. My question is do someone know if there is a smart way to do this? I need to filter keyboard events like ctrl +alt + del and other windows short keys and messages. My program will be like a second desktop leting children run their own programs games etc etc. /Jarek He believed the commercials that said drink beer, get laid but at closin' time he was alone, he didn't get paid. Last night his lover was a razorblade.. "Dan Reed song Mix it up"
What do you want to patch today? -
Hi! I am working on a security program for children. this program is intended to be a child desktop, the main purpose is to lockout children from windows system. My question is do someone know if there is a smart way to do this? I need to filter keyboard events like ctrl +alt + del and other windows short keys and messages. My program will be like a second desktop leting children run their own programs games etc etc. /Jarek He believed the commercials that said drink beer, get laid but at closin' time he was alone, he didn't get paid. Last night his lover was a razorblade.. "Dan Reed song Mix it up"
What do you want to patch today?First, check this: Typename, Disabling Keys in Windows XP with TrapKeys[^] > ...the main purpose is to lockout children from windows system I'm not quite sure if this is an option, but in WinXP you could simply add a new account and start your program instead of explorer.exe. Go to: Start -> Run -> gpedit.msc -> Administrative Templates -> System -> Custom User Interface This way most of the Windows hotkeys will go away for free. But two of them will stay: Ctrl-Shift-Esc and Ctrl-Alt-Del (both are intercepted by Winlogon). To get rid of them you could either disable Task Manager (gpedit.msc -> Administrative Templates -> System -> Ctrl+Alt+Del Options). If you are happy with the notification message that pops up when pressing those hotkeys thereafter, then you are all done. If not, or if you simply need complete control over those hotkeys, you have to write a replacement for msGina.dll (search for GINASTUB in MSDN as a starter example; unfortunately the sources were thrown out of MSND .NET, so you'll have to stick with the Visual Studio 6.0 version). In your custom GINA: 1) Gobble
WlxStartApplication
in order to disable Ctrl-Shift-Esc. 2) To handle Ctrl-Alt-Del either gobbleWlxLoggedOnSAS
(you get an ugly flicker) or callDWORD dwOld;
pWinlogonFunctions->WlxSetOption( hWlx, WLX_OPTION_USE_CTRL_ALT_DEL, 0, &dwOld );(now the screen-saver won't be started anymore). Isn't it always true: You get something but in the same moment you lose something else. :) RK
-
First, check this: Typename, Disabling Keys in Windows XP with TrapKeys[^] > ...the main purpose is to lockout children from windows system I'm not quite sure if this is an option, but in WinXP you could simply add a new account and start your program instead of explorer.exe. Go to: Start -> Run -> gpedit.msc -> Administrative Templates -> System -> Custom User Interface This way most of the Windows hotkeys will go away for free. But two of them will stay: Ctrl-Shift-Esc and Ctrl-Alt-Del (both are intercepted by Winlogon). To get rid of them you could either disable Task Manager (gpedit.msc -> Administrative Templates -> System -> Ctrl+Alt+Del Options). If you are happy with the notification message that pops up when pressing those hotkeys thereafter, then you are all done. If not, or if you simply need complete control over those hotkeys, you have to write a replacement for msGina.dll (search for GINASTUB in MSDN as a starter example; unfortunately the sources were thrown out of MSND .NET, so you'll have to stick with the Visual Studio 6.0 version). In your custom GINA: 1) Gobble
WlxStartApplication
in order to disable Ctrl-Shift-Esc. 2) To handle Ctrl-Alt-Del either gobbleWlxLoggedOnSAS
(you get an ugly flicker) or callDWORD dwOld;
pWinlogonFunctions->WlxSetOption( hWlx, WLX_OPTION_USE_CTRL_ALT_DEL, 0, &dwOld );(now the screen-saver won't be started anymore). Isn't it always true: You get something but in the same moment you lose something else. :) RK