Board index » delphi » How can I turn of Ctrl-Alt-Del

How can I turn of Ctrl-Alt-Del

Hi,

Can anyone tell me how to turn off Ctrl-Alt-Del in Windows NT 4.0.

Remove .nosp to get my email addresss.

Thanks

William

 

Re:How can I turn of Ctrl-Alt-Del


Quote
William wrote:

> Hi,

> Can anyone tell me how to turn off Ctrl-Alt-Del in Windows NT 4.0.

> Remove .nosp to get my email addresss.

> Thanks

> William

I have reference to this working in Win 95', but not sure about NT ..

Good Luck:

procedure TurnSysKeysOff;
var
  OldVal : LongInt;
begin
  SystemParametersInfo (97, Word (True), @OldVal, 0)
end;

procedure TurnSysKeysBackOn;
var
  OldVal : LongInt;
begin
  SystemParametersInfo (97, Word (False), @OldVal, 0)
end;

Rkr

--
                   \|||/
                   /'^'\
                  ( 0 0 )
--------------oOOO--(_)--OOOo--------------
. Reid Roman                              .
. Delphi Programmer / Analyst             .
. TVisualBasic:=class(None);              .
. May the Source be With You              .
-------------------------------------------
. Auto-By-Tel (http://www.autobytel.com)  .
. Irvine, CA U.S.A                        .
. E-Mail : rkroman (at) pacbell (dot) net .
. or reidr (at) autobytel (dot) com       .
-------------------------------------------

Re:How can I turn of Ctrl-Alt-Del


Quote
> Can anyone tell me how to turn off Ctrl-Alt-Del in Windows NT 4.0.

You can't use the SPI_SCREENSAVERRUNNING trick under NT.  That
would be bad...  Instead you can either write your own Gina.DLL
replacement or employ keyboard filtering at the driver level.  
For a commercial example of the latter technique, visit my web
page at http://www.phord.com/keyblock.html

Phil Hord
Phord Software
http://www.phord.com

  --------------------------------------------------------------------
  Posted using Reference.COM                  http://WWW.Reference.COM
  FREE Usenet and Mailing list archive, directory and clipping service
  --------------------------------------------------------------------

Other Threads