Sergeyka
asked on
ScreenSaver
I need help in two questions:
1. How application can configure or preview screensaver?
2. Why ON_WM_SETTINGCHANGE() message handler can not respond to changing the system settings, concerning screensavers. On other cases it works...
I use MSVC++ 6.0 & MFC...
Beforehand thanked, Sergeyka.
1. How application can configure or preview screensaver?
2. Why ON_WM_SETTINGCHANGE() message handler can not respond to changing the system settings, concerning screensavers. On other cases it works...
I use MSVC++ 6.0 & MFC...
Beforehand thanked, Sergeyka.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The system sends the WM_SETTINGCHANGE message only if the SystemParametersInfo caller specifies the SPIF_SENDCHANGE flag. You may use Spy++ with a top-level window to see if the message is sent.
ASKER
Beside me revision on the second point:
I had in mind not adjustment concrete screensaver, but adjustment screensaver in general, timeout, for instance.
If I can set or get a system parameter using function SystemParametersInfo(), why I can not learn of change of these system parameters, concerning only screensaver?
Or how can I detect/catch system parameters changes, concerning screen saver