Search results for 'SPI_SCREENSAVERRUNNING'. 1 post(s) found.
- 2007/09/19 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;
var OldVal : LongInt;
begin
SystemParametersInfo(SPI_SCREENSAVERRUNNING, Word(Disable), @OldVal, 0) ;
end;
Another posts included in "Delphi"
| Get Windows Temp directory (0) | 2007/09/20 |
| How to Get Windows OS Version ? (0) | 2007/09/20 |
| How to Get Filenames from Clipboard ? (0) | 2007/09/20 |
| Display Standard Windows Properties dialog (0) | 2007/09/19 |
| Disable Mouse and Keyboard from Delphi Code (0) | 2007/09/19 |
| Detecting Drive Types (0) | 2007/09/19 |
| Detecting and preventing Windows shut down (0) | 2007/09/19 |
| Create new program group in the Start menu (0) | 2007/09/19 |
Trackback : Cannot send a trackbact to this post.
-
Subject different money making ideas
2010/01/25 08:20
moneyideas
-
Subject different money making ideas
2010/01/28 21:40
moneyideas
-
Subject different money making ideas
2010/01/29 06:13
moneyideas
-
Subject different money making ideas
2010/01/31 16:40
moneyideas

Prev

Rss Feed