Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

visual c++ (mfc)

Status
Not open for further replies.

shsheytan

Programmer
Jul 8, 2005
1
IR
Hi,
I need your help in my project(MFC).
I write it with visual c++ 6 i want to change desktop wallpaper and call the windows screensaver.

thanks for your help
 
i want to change desktop wallpaper
Check out the registry key
HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper

and call the windows screensaver
Check what's in
HKEY_CURRENT_USER\Control Panel\Desktop\SCRNSAVE.EXE
and execute it (use ShellExecute for example)

/Per

www.perfnurt.se
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top