Custom handling for CloseAllButSelectedActiveDocuments command

Docking/MDI for Windows Forms Forum

Posted 6 years ago by Tobias Lingemann - Software Devolpment Engineer, Vector Informatik GmbH
Version: 12.1.0288
Avatar

Hi,

Is there a way to intercept the command handling for the CloseAllButSelectedActiveDocuments command and close the documents by myself?


Best regards, Tobias Lingemann.

Comments (1)

Answer - Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Tobias,

You could handle the WindowContextMenu event and alter the ContextMenu that is about to show.  That way you could remove this particular menu item and put in one of your own instead.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.