Jump to content
Sign in to follow this  

How to refresh Windows Explorer Shell ?

Recommended Posts


I've written a program and some edit registry keys , I don't know which method or fuction to refresh windows explorer (do not refresh desktop). example change font size or desktop wallpaper v.v...

Thank you for reading and reply !

Share this post

Link to post
Share on other sites

This can help :

when you want change Wallpaper Desktop you need refresh :


Func _ChangeWallpaper($sFile,$iType)

  If Not FileExists($sFile) Then
     Return -1
  If StringTrimLeft($sFile,StringInStr($sFile,'.',0,-1)) <> 'jpg' Then
     Return -2

  Case $iType = 1
     RegWrite('HKCU\Control Panel\Desktop','TileWallpaper','reg_sz','0')

  Case Else


  RegWrite('HKCU\Control Panel\Desktop','Wallpaper','reg_sz',$sFile)
  Return 0

Edited by ahmeddzcom
  • Like 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.