04-14-2025, 12:39 PM
(04-12-2025, 04:49 PM)madscijr Wrote: Thanks m, @RhoSigma!
A question I have is: if you recall, in the control panel where you select your screensaver, there was often a [Settings] button you could click to get to usually some options, specific to the screensaver. A popup form would open with dropdowns, slider controls, checkboxes, buttons, etc. for that specific screensaver's options. This was displayed at the OS level but different for every screensaver (see screnshot for what you would see for the Ribbons screensaver). What I'm wondering is, how does Windows know what settings to display input controls for & what control types & options to show, and how does it send those options to the SCR file? My guess is that either the parameter names / types, control types & layout, and any enumerated values, are either stored in a seperate config file in some standard format the OS recognizes, or somewhere in the SCR file (maybe as binary or ascii data appended to the end of the EXE?), and sends the parameters to the SCR as command line options. Does anyone know?
Screensavers use their own dialog functions from what I gather. See here https://learn.microsoft.com/en-us/window.../scrnsave/
ScreenSaverConfigureDialog handles the configuration you talk about and is down to the programmer to define its function/purpose.