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.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

1. INFO: Screen Saver Command Line Arguments

2. The system sends the WM_SETTINGCHANGE message to all top-level windows when the SystemParametersInfo function changes a system-wide setting. The system sends this message only if the SystemParametersInfo caller specifies the SPIF_SENDCHANGE flag. A screen saver does not use SystemParametersInfo to change its settings. It is up to the screen saver how to save its settings.

You might want to take a look at my article at CodeGuru.

A Complete Screen Saver Framework Using MFC

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SergeykaAuthor Commented:
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.