Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.