My question is simple. How I can detect if user refreshed explorer under windows xp? Or if it would be easier how to detect if user refreshed desktop?
I heard that I can listen desktop handle. If refresh action will occur I will notice it.
Asked
Active
Viewed 264 times
0

Merlyn Morgan-Graham
- 58,163
- 16
- 128
- 183

user1042321
- 45
- 1
- 9
-
You can "refresh the desktop", but do you understand what it means? The desktop is just another Explorer window that happens to be fullscreen and quite far down in the Z order. – MSalters Dec 05 '11 at 14:09
1 Answers
1
-
-
Well... he should create a hook and listen to a proper event which refreshes desktop. That's what he wanted, as far as I understood him. Former link shows how to create a hook, later which event should he be listening for. – SOReader Dec 05 '11 at 14:16
-
The latter shows just one way to force a refresh; it's certainly not the only. F5 in Explorer will NOT broadcast a settings change. – MSalters Dec 05 '11 at 14:21
-
Well, you're right but you have to admit that it is still a solution. Maybe not the best one, but still a solution – SOReader Dec 05 '11 at 14:26
-
Thanks yes it is somehow a solution. But I also need a solution for F5. Maybe there is a possibility to disable f5 function? So user will only be able to refresh by rightclick->refresh? – user1042321 Dec 05 '11 at 22:58