Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


Retrieves the current active MDI child window, along with a flag indicating whether the child window is maximized.

CMDIChildWnd* MDIGetActive( 
   BOOL* pbMaximized = NULL  
) const;


A pointer to a BOOL return value. Set to TRUE on return if the window is maximized; otherwise FALSE.

A pointer to the active MDI child window.

Header: afxwin.h

© 2015 Microsoft