title: Monitoring taskbar changes
body: <p>I am trying to monitor changes to the taskbar, e.g. when a new instance of Windows Explorer is started a new button is added. Likewise when I close an instance of Windows Explorer the button is removed. I need the monitoring to take place no matter what is added or  removed from the taskbar. I have tried the IUIAutomation Library, see below, and that will trigger an event when a new button is added to the taskbar but not when one is removed.</p>
  
  <p>Any ideas on how to create such an event other than using automation shown below. Alternatively a global hook to monitor when any application is opened and any application is closed.</p>
  
  <p>This is the automation question I posted previously below.</p>
  
  <p><a href="https://stackoverflow.com/questions/44495178/iuiautomation-structurechangedeventhandler">IUIAutomation StructureChangedEventHandler</a></p>