VBGamer |
|||||||||||||||||||||||||||
RE: Screensaver interference Adam Hoult (1 reply, 0 views) (2000-Aug-11) Unfortunately calls to SetCursor or faking key presses do not reset the screensaver counter (at least they didn't last time I checked). (AFAIK it's reset by the Windows Input code).
If you're working C++ it's fairly easy when you have a message loop. but the only way I can think of atm is to set the screensaver to nothing (i.e "") in the registry at game startup, and then setting it back to what it was when you exit.
The key is :
HKEY_CURRENT_USER\Control Panel\Desktop\SCRNSAVE.EXE
Hey, works for me =)
Adam
|