Raise event when click Close all but this

Docking/MDI for Windows Forms Forum

Posted 11 years ago by Ernesto Serrano - Software Developer, VyS Yecla S.L.
Version: 2.0.0094
Avatar
Hello, there are any event that is raised when the user clicks the option Close All But This?

Thanks!

Comments (3)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Sorry no, but it will raise the appropriate close events for any TabbedMdiWindow that is closed as a result of that operation.


Actipro Software Support

Posted 11 years ago by Ernesto Serrano - Software Developer, VyS Yecla S.L.
Avatar
Yes, but my TabbedMdiWindows take more time to get closed, because this I want to show a progreess dialog that says Closing..., but if I can't detect this behavior i can't make this, any idea?

Thanks!!
Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Your other option is to handle the DockManager.WindowContextMenu event, look through the DefaultContextMenu in the event args, and change the handler of the Close All But This item to your own handler. If you can't change the handler, then you could just remove that item and add your own item.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.