After going through MSDN Shell Extensions I am not quite sure if I can extend the behaviour of Shell Click or Click Event of explorer. Any suggestion or Code Snipet, article or Walk through?
Asked
Active
Viewed 371 times
3
-
1Are you talking about a context menu shell extension? – humbagumba Aug 13 '10 at 13:54
-
@humbagumba, I am talking about he Normal Click Event. Letz Say the click event while we open a Folder – Simsons Aug 14 '10 at 13:11
1 Answers
4
There is no such possibility. That would make the shell too vulnerable. Imagine all the malware that exploits this functionality.
If you want to capture the click event, there is no easy way. You may SetWindowsHookEx and monitor/capture mouse messages for all windows of CabinetWClass and/or DirectUIHWND class. You may inject your code to explorer.exe's process and intercept messages from there. Here's a snippet of injecting a dll into a process.

Aoi Karasu
- 3,730
- 3
- 37
- 61