Custom handling for CloseAllButSelectedActiveDocuments command

Docking/MDI for Windows Forms Forum

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


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 11 years ago by Actipro Software Support - Cleveland, OH, USA

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 (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.