Win C#: Refresh Windows Explorer in Win7
- by Paja
Hello,
My program sets "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" value "Hidden". Hovewer I'm not able to refresh the explorer to take into account this change. I've tried:
1) SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, IntPtr.Zero, IntPtr.Zero);
2)
SHELLSTATE state = new SHELLSTATE();
state.fShowAllObjects =…