Command lines for screensavers
If you are writing in C then you do not need to know about the command lines but you may be interested to know how things are handled in the different operating systems.
16-bit/Windows 3.1/Windows for workgroups
There are only two options with 16-bit windows. This also applied to screensavers compiled for 16bit running in a 32-bit operating system.
- /S = Preview/Test the screensaver
- /C = Configure
32-bit/Windows 95/Windows 98/Windows NT
I have yet to try anything with Windows 98 so I would be interested to know if there are significant changes here.
There are more command line options with the 32-bit operating systems.
- /S = Preview/Test
- /P handle = Show preview in little window, e.g. /P 13243. The handle is that of the preview window.
- nothing = Configure from the right click menu
- /C handle = Configure from the Display Properties/Screensaver tab, configure button. e.g. /C 43321. The handle is that of the Display Properties dialog. You cannot guarentee the presence of a handle in all cases if not handle is recieved then the Currently active window should be used. The configure should be launched application modal to this window.
- /A handle = Display password change dialog, applicable for Win 95 only. See Microsoft Knowledge base Q182382
Email : Andy.Clark@Dial.Pipex.Com - Last Updated : 20th Jan 1998