shaitan
06-09-2007, 04:40 PM
I read all threads about refreshing codes for example using below code:
Originally Posted by Intrigued in "How to force Desktop Refresh" Thread
DLL.CallFunction(_SystemFolder.."\\SHELL32.DLL", "SHChangeNotify", "134217728, 0, NULL, NULL", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)
But it only refreshes desktop after A file type association has been changed as 134217728 EventID points to.
It does not works on refreshing windows explorer and folder and file browsing.
For example in one of autoruns I want to see if hidden settings is on or not, and if on, set it off and show a hidden file in explorer to user.
I can change registry keys for setting on and off folder options settings, but it needs explorer REFRESH.
I'm searching for a code to refresh explorer for me at the time.
Thanks
Originally Posted by Intrigued in "How to force Desktop Refresh" Thread
DLL.CallFunction(_SystemFolder.."\\SHELL32.DLL", "SHChangeNotify", "134217728, 0, NULL, NULL", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)
But it only refreshes desktop after A file type association has been changed as 134217728 EventID points to.
It does not works on refreshing windows explorer and folder and file browsing.
For example in one of autoruns I want to see if hidden settings is on or not, and if on, set it off and show a hidden file in explorer to user.
I can change registry keys for setting on and off folder options settings, but it needs explorer REFRESH.
I'm searching for a code to refresh explorer for me at the time.
Thanks