Search results for 'SPI_SCREENSAVERRUNNING'. 1 post(s) found.

  1. 2007/09/19 Disable ALT+TAB, CTRL+ESC, CTRL+ALT+DEL
2007/09/19 08:33

Disable ALT+TAB, CTRL+ESC, CTRL+ALT+DEL


If you wish to disable those key combinations while your application is running call SystemKeys. When you call SystemKeys, if Disable is True, the keys will be disabled, False otherwise.

Note: the code does NOT work under Win NT systems (XP, 2000)

procedure SystemKeys(Disable: Boolean) ;
  var OldVal : LongInt;
begin
  SystemParametersInfo(SPI_SCREENSAVERRUNNING, Word(Disable), @OldVal, 0) ;
end;
Trackback 4 Comment 0

Trackback : Cannot send a trackbact to this post.

  1. Subject different money making ideas

    Tracked from moneyideas 2010/01/25 08:20 delete

    moneyideas

  2. Subject different money making ideas

    Tracked from moneyideas 2010/01/28 21:40 delete

    moneyideas

  3. Subject different money making ideas

    Tracked from moneyideas 2010/01/29 06:13 delete

    moneyideas

  4. Subject different money making ideas

    Tracked from moneyideas 2010/01/31 16:40 delete

    moneyideas