Refresh explorer in Vista
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I am changing certain registry keys using VC++ and after that I want to refresh explorer. I have tried following two ways but none of them works under vista.
1. SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, NULL, NULL); 2. SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0, 0, SMTO_NORMAL, 1000);
Is there some other way to refresh explorer under vista? -Saurabh