Is there a way to cancel the tool window sliding closed? There are events for windows closing, but I cant seem to find one that will allow me to cancel the auto-hiding tool window closing.
I have a tool window that is un-pinned (docked to the side and closed). When I click on the closed tool window, it slides out. Within the tool window, I have a button that opens a popup. When I click in the popup, the tool window slides closed (undesired). I want a way to say "if the tool window starts to slide closed and the popup is open, cancel (handled=true) the tool window sliding closed".