![Avatar](https://secure.gravatar.com/avatar/4da63f3710a8e2db28c006255b1a606a.jpg?s=64&d=identicon&r=g)
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.
My situation:
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".
Any suggestions?
Thanks,
Brian