cktrippy
cktrippy

Reputation: 41

C/C++ Retrieving notification of a closed windows explorer window

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

Answers (1)

Denis Anisimov
Denis Anisimov

Reputation: 3317

You can subscribe to open/close events of Explorer windows with IShell­Windows. Details you can find there: https://blogs.msdn.microsoft.com/oldnewthing/20130614-00/?p=4083/

Upvotes: 2

Related Questions