Select the product you need help with
INFO: Screen Saver Command Line ArgumentsArticle ID: 182383 - View products that this article applies to. This article was previously published under Q182383 SUMMARY
Windows communicates with Screen Savers through command line arguments. The
ScrnSave.lib library handles this for Screen Savers that are written to use
it, but other Win32 Screen Savers marked 4.0 or higher must handle the
following command line arguments:
ScreenSaver - Show the Settings dialog box.
ScreenSaver /c - Show the Settings dialog box, modal to the
foreground window.
ScreenSaver /p <HWND> - Preview Screen Saver as child of window <HWND>.
ScreenSaver /s - Run the Screen Saver.ScreenSaver /a <HWND> - change password, modal to window <HWND> MORE INFORMATION
You need to create the preview window as a child of this window. It should
cover the parent's entire client area.
You need to create the password dialog box as owned by HWND if it is supplied or as owned by the foreground window if HWND is not supplied. PropertiesArticle ID: 182383 - Last Review: July 11, 2005 - Revision: 1.2
| Article Translations
|


Back to the top








