Thanks,
Wojtek L.
Wojtek:
// These routines are based on information from the Microsoft Knowledgebase
// article Q161133, "How to Block CTRL+ALT+DEL and ALT+TAB in Windows 95."
// Note: According to this documentation, the routines below will NOT work
// under Windows NT.
// Routine names adapted from suggestion by Geir Bratlie (ro...@sn.no) in
// 12/8/96 post to comp.lang.pascal.delphi.misc, "Re: Help - Trapping KB
// Keys"
PROCEDURE TurnSystemKeysOff;
VAR
dummy: INTEGER;
BEGIN
SystemParametersInfo(SPI_SCREENSAVERRUNNING, INTEGER(TRUE), @Dummy, 0)
END {TurnSystemKeysOff};
PROCEDURE TurnSystemKeysOn;
VAR
dummy: INTEGER;
BEGIN
SystemParametersInfo(SPI_SCREENSAVERRUNNING, INTEGER(FALSE), @Dummy, 0)
END {TurnSystemKeysOn};
efg
_________________________________________
efg's Computer Lab: http://infomaster.net/external/efg
Earl F. Glynn E-Mail: Earl...@att.net
MedTech Research Corporation, Lenexa, KS USA
Wojciech Lewandowski <35CFE126...@friko5.onet.pl> ...
>How to disable Ctrl-Alt-Del in Delphi 3 under Windows 95.
>
>Thanks,
>
>Wojtek L.
>