afaik you cant. for various security related reasons ( ever seen the "press
ctrl-alt-del to login" screen? )
- Dion.
----- Original Message -----
From: "Graham Mayes" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Thursday, November 21, 2002 12:16 PM
Subject: [DUG]: Disabling shortcuts


> 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/
>

---------------------------------------------------------------------------
    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/

Reply via email to