Reputation: 41
I have an application - that opens a Windows Explorer window at a specific directory path that I have specified right after it launches.
Is there any way that I can get some kind of a notification in my application whenever that Windows Explorer window has been closed?
Any help regarding this would be helpful.
Upvotes: 0
Views: 164
Reputation: 3317
You can subscribe to open/close events of Explorer windows with IShellWindows. Details you can find there: https://blogs.msdn.microsoft.com/oldnewthing/20130614-00/?p=4083/
Upvotes: 2