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.

Пример

See the example for CMDIChildWnd::MDIMaximize.

Требования

Header: afxwin.h

См. также

Основные понятия

CMDIFrameWnd Class

CMDIFrameWnd Members

Hierarchy Chart

CMDIFrameWnd::MDIActivate

WM_MDIGETACTIVE