CMDIFrameWnd::MDIGetActive

CMDIFrameWnd::MDIGetActive

 

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


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

pbMaximized

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.

Example

See the example for CMDIChildWnd::MDIMaximize.

Requirements

Header: afxwin.h

Show:
© 2016 Microsoft