Event for minimize/restore for a document window?

Docking/MDI for Windows Forms Forum

Posted 17 years ago by Anthony Martin
Version: 2.0.79
Avatar
Is there an event for when a user minimizes/restores a document window in the mdi client? If there isn't can you add one?

Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
No but what you could do is override DocumentWindow and in an OnParentChanged method override, find the parent Form using FindForm. If it is an MDI child, then attach to the Resize event. Forms don't have a WindowStateChanged event, which would be ideal. So using Resize is what you'd have to do.


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.