I have an application that is running as an AppBar using the SHAppBarMessage API. It works great except when a user clicks the show desktop button. This causes my application to go away and it will not show up again until the user clicks another application. Is there a way to detect when the ShowDesktop button was clicked, so I can make sure my app stays in the foreground?
I tried detecting the Form_Resize event, but that is not fired when the user clicks the Show Desktop button.
Any help would be appreciated.
