Condividi tramite


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;

Parameters

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

Return Value

A pointer to the active MDI child window.

Example

See the example for CMDIChildWnd::MDIMaximize.

Requirements

Header: afxwin.h

See Also

Reference

CMDIFrameWnd Class

Hierarchy Chart

CMDIFrameWnd::MDIActivate

WM_MDIGETACTIVE

Other Resources

CMDIFrameWnd Members