In my program I toggle the registry value of hidden files to tell explorer whether to hide or show them. However, since explorer doesn't refresh on it's own, I send the event
SHChangeNotify(0x8000000, 0x1000, IntPtr.Zero, IntPtr.Zero);
to refresh everything. However, it doesn't seem to be refreshing anything unfortunately. I see the screen on the desktop flicker a bit, but in order to see the changes, I have to manually refresh the folder. SHChangeNotify doesn't seem to be working for me. Any help would be greatly appreciated.