How to refresh Explorer window after Registry key changed?
-
How to refresh Explorer window after Registry key changed? I want to hide the files that have hide attribe so I set [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Hidden" to 0 But that doesn't affect the current opened explorer window. I have to use "refresh" menu (not F5 button) to command to hide the hidden files. How to tell the current opened explorer window to hide these hidden files after I set the registry key? Thanks a lot!
Let's roll!
-
How to refresh Explorer window after Registry key changed? I want to hide the files that have hide attribe so I set [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Hidden" to 0 But that doesn't affect the current opened explorer window. I have to use "refresh" menu (not F5 button) to command to hide the hidden files. How to tell the current opened explorer window to hide these hidden files after I set the registry key? Thanks a lot!
Let's roll!
Check out
SHChangeNotify()
- there might be a flag that will make Explorer refresh its views. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD