I am trying to prevent users 'escaping' using shortcut keys.
All OK for win 95 98 etc
SystemParametersInfo(SPI_SETFASTTASKSWITCH,1,@Dummy,0);//Disable Alt-Tab
SystemParametersInfo(SPI_SCREENSAVERRUNNING,1,@Dummy,0);//Disable
Ctrl-Alt-Del
ShowWindow((FindWindowEx(0, 0, PChar('Shell_TrayWnd'), PChar(''))),
SW_HIDE);//hide taskbar
but with XP, one probably easy question:
These work
RegisterHotKey(Application.Handle,$BFFF,MOD_ALT,VK_TAB);// Disable
alt-tab
RegisterHotKey(Application.Handle,$BFFE,MOD_ALT,VK_F4); // Disable Alt-F4
How do I disable Ctrl-Alt-Del ? (3 key combination)
Regards
Graham
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/