
activate a screen saver on NT system
I have the following code to activate a screen saver
Dim lngHWnd As Long
lngHWnd = GetDesktopWindow()
Call SendMessage(lngHWnd&, WM_SYSCOMMAND, SC_SCREENSAVE, 0&)
It works fine on win95, it evens activates the saver on NT but skips
password protection. If I use this code to activate the saver on NT it
appears but if I move my mouse it shows the desktop again and does not ask
for user password...
Is there anyway to activate the screen saver on NT properly?
BTW I am finding the NT environment a pain to develop for, all the stuff I
have done for screen savers so far work fine on 95 but don't work on NT!!!!
Ta, Darren