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.

user2688181
  • 19
  • 1
  • 6

1 Answers1

2

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

Paul
  • 6,061
  • 6
  • 39
  • 70