Refresh Destop

G

Guest

All,

I am looking for the API call that will refresh the desktop, I do not want
the F5 refresh but the one that displays the Please Wait with the Windows
logo top right,

You can see the screen I am talking about by selecting properties on the
desktop and then appearance, change the Windows XP to Windows Classic or vice
versa and click Apply - This is more than an F5 desktop refresh and I need to
know how to call it.

Any help appreciated

Regards
Stev Friday
 
J

John John

Maybe this will work for you.

RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters ,1 ,True

John
 
R

Ramesh, MS-MVP

Hi Steve,

That command-line refreshes the Desktop wallpaper, and may be other
settings. To know if programatically applying a theme is possible, you may
try this question in the platformsdk / developer newsgroups.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


John,

Thanks for the reply, we have tried that but no success I'm afraid.

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top