1

I am looking for a WIN 32 API to detect application launch and termination in my application. I am looking to develop a dockBar/TaskBar for which I need to get handle of application that are launch and terminate.

1 Answers1

2

For a DockBar/TaskBar have a look at the RegisterShellHookWindow function. Specifically, the HSHELL_WINDOWCREATED and HSHELL_WINDOWDESTROYED notification.

Paul
  • 4,856
  • 2
  • 30
  • 61