Поделиться через


CMDIFrameWnd::MDINext

Activates the child window immediately behind the currently active child window and places the currently active child window behind all other child windows.

void MDINext( );

Заметки

If the currently active MDI child window is maximized, the member function restores the currently active child and maximizes the newly activated child.

Пример

// CMainFrame::OnActivateNextWindow() is a menu command handler for
// CMainFrame class, which in turn is a CMDIFrameWnd-derived class.
// It activates the child window immediately behind the currently 
// active child window and places the currently active child window 
// behind all other child windows. 
void CMainFrame::OnActivateNextWindow() 
{
   MDINext();
}

Требования

Header: afxwin.h

См. также

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

CMDIFrameWnd Class

CMDIFrameWnd Members

Hierarchy Chart

CMDIFrameWnd::MDIPrev

CMDIFrameWnd::MDIActivate

CMDIFrameWnd::MDIGetActive

WM_MDINEXT