Help! WIndows Screensaver
I need help making a windows screensaver. So far everything works except for quitting it by moving the mouse. I have been using
if(WM_MOUSEMOVE) but when you compile it, it opens and then directly closes. Also do you know a way that you can set it so it starts like a normal screensaver??
Thanks
A chain is only as strong as its weakest link.
It sounds like you have another problem in your code, without some sort of listing/clues it could be anything (to me here).
,Jay
PS: I don't know how to make a screensaver start up defaultly, I would try renameing the file to .scr and moving it to the windows directory, if that does not work then look it up in help texts or do a web search (maybe someone else knows how to create screen savers here).
Edited by - Jason Zelos on February 13, 2002 6:35:41 PM
,Jay
PS: I don't know how to make a screensaver start up defaultly, I would try renameing the file to .scr and moving it to the windows directory, if that does not work then look it up in help texts or do a web search (maybe someone else knows how to create screen savers here).
Edited by - Jason Zelos on February 13, 2002 6:35:41 PM
There is a screensaver demo included in the directx 8.1 SDK, that might be a good reference.
Thanks for the help. I will look over my code and see if I find anything.
A chain is only as strong as its weakest link.
Thanks for the help. I will look over my code and see if I find anything.
A chain is only as strong as its weakest link.
there are always a few "artifact" mousemove''s triggered on a form when it is loaded... so put a static counter in your WM_MOUSEMOVE handler:
--- krez (krezisback@aol.com)
static DaNum;++DaNum;if (DaNum > 4) // do exit code here
--- krez (krezisback@aol.com)
--- krez ([email="krez_AT_optonline_DOT_net"]krez_AT_optonline_DOT_net[/email])
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement