I need to perform certain custom processing whenever an MDI child form is added to/removed from the MDIContainer form. How do I determine this?
MDIContainer forms have an MDIClient child window and it is to this MDIClient window that MDI child forms are parented. The MDIClient’s ControlAdded/ControlRemoved events will be fired whenever a child form is added or removed. You can subscribe to these events and add the required processing code from within the handlers.