|
-
November 17th, 1999, 01:35 PM
#1
clearing screensaver
I'd like to be able to clear a screen saver using mscomm event instead of a mouse or keyboard event. I've tried using systemparametersinfo and mouse_event api with no success. Any suggestions?
Thanks in advance.
-
November 18th, 1999, 04:59 AM
#2
Re: clearing screensaver
How about trying Posting a WM_CLOSE command to the ScreenSaver app.
This depends on which OS you are running, on NT, SS runs on a seperate desktop. so to determine if the SS is running or not is a little different - you need to look for that Desktop. On 95, you can get the SS exe name from registry, then find if that app is running, with some kind of EnumWindows function, and then then post a WM_CLOSE message to that window. IDNK if this is any different in WIN98.
This technique should work, theoritically atleast :-)
RK
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|