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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh event

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have application that will change Windows background at the Windows startup. But I encounted 1 problem that is Windows still keeping the old background picture and display that on desktop. Althoungh the changing desktop background picture at my application has run. If I press the "F5 or refresh" then the picture will be changed.

Note this problem only supply when reboot the Windows. After restart and entry application on Windows have run then my application also still run normal.

Please share your oppinion with me. Thank you very much

I am looking forward you reply.
 
You probably just need to inform the rest of the system that you've made the change:

SystemParametersInfo(
SPI_SETDESKWALLPAPER,
0,
Nil,
SPIF_SENDWININICHANGE );
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top