I want my screensaver appears in the screensaver preview box?
+9
A:
When you make a screen saver you need to support a command line argument (/p [HWND]) that will tell you in which windows to show your screen saver. The command line will be pass to you thru the screen saver control panel. here is a link to the full spec.
Shay Erlichmen
2009-05-24 06:22:28
Missing from the page you link to (unless I overlooked) is that you should rename the executable to the ".scr" file extension and store it under the "%SYSTEMROOT%\SYSTEM32" folder
Stijn Sanders
2009-05-25 14:19:07
Yes, that's how windows find screen savers.
Shay Erlichmen
2009-05-25 14:58:56
A:
You can start the screen saver, get it's window handle then change it's parent to your forms handle or panel's handle or wherever you want it.
Aldo
2009-05-25 10:13:26