Explorer Tree view events
COM
2
Posts
1
Posters
0
Views
1
Watching
-
Has anyone tried to intercept Windows Explorer (drive/directory) tree view events capture? I want my extension dll to know when the user expands a folder in the tree view of explorer. Is there any way of doing that? Thanks in advance.
I found the solution. Create an atl com project. Insert "Internet Explorer Object". Do the usual stuff for a BHO. Implement two methods: Invoke() and SetSite(). Then in Invoke, capture the DISPID_NAVIGATECOMPLETE2 event. This runs when user has just changed from one location to another. Find the new location. If it is a local drive etc, then we have it. It does not catch the folder expand, but does catch the event when a folder is opened even in the tree view of explorer. Thanks for reading.