Share via


CMDIFrameWnd::MDINext

現在アクティブな子ウィンドウの後ろの子ウィンドウは直ちにアクティブにし、他のすべての子ウィンドウの後ろに現在アクティブな子ウィンドウを設定します。

void MDINext( );

解説

現在アクティブな MDI 子ウィンドウが最大化できない場合、メンバー関数は、現在アクティブな子を復元して、新しくアクティブにした機能を最大化します。

使用例

// 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();
}

必要条件

ヘッダー: afxwin.h

参照

関連項目

CMDIFrameWnd クラス

階層図

CMDIFrameWnd::MDIPrev

CMDIFrameWnd::MDIActivate

CMDIFrameWnd::MDIGetActive

WM_MDINEXT