How to know in the MdiChildActivate event handler if the child is closed (or activated).

Tech-Archive recommends: Fix windows errors by optimizing your registry



Form.MdiChildActivate Event [Visual Basic]
Occurs when a multiple document interface (MDI) child form is activated or
closed within an MDI application.


I need to know in the MdiChildActivate event handler if the child is closed
(or activated).

Is there a way of doing that other then setting a global variable in the
child's Closed event?


Thanks


.



Relevant Pages

  • RE: Mdi Icon Position in MenuStrip
    ... you'd like to show the icon of a maximized MDI ... child form immediately left of the control box buttons(Minimize, Maximize, ... Maximize/Resore menu item ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.languages.vb)
  • Re: My.Application.OpenForms
    ... Sorry you're missing the VB6 IDE; ... Have you solved the problem of sizing a child form to fit the MDI ... 'enable application framework' checkbox is unchecked. ...
    (microsoft.public.dotnet.languages.vb)
  • MDI: A solution for Nilling Child form pointers
    ... suppose you have a number of MDIchild windows that are created and ... Since various of the MDI ... my solution to this has been to equip each child form ... OnDestroy handler, and then propagated to the MDI main form as follows: ...
    (borland.public.delphi.language.objectpascal)
  • Re: Issues with displaying a .Net Form as Child of a MDI Form in VB6 Application
    ... You'll probably fail miserably VB6 MDI Parents refuse to adopt children. ... SetParent won't give you the MDI Child form functionality. ...
    (microsoft.public.vb.winapi)
  • Re: Clicking a button and pressing Enter key act different in MDI
    ... This event "Occurs when a multiple document interface (MDI) child form is ... child form visibility in Button click event, not in MdiChildActivate event. ...
    (microsoft.public.dotnet.framework.windowsforms)