Link to home
Start Free TrialLog in
Avatar of Sergeyka
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.
ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sergeyka
Sergeyka

ASKER

Thank you chensu.

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
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.