CMDIChildWnd::MDIRestore
Appelez la fonction membre pour restaurer une fenêtre enfant MDI de taille agrandie ou réduite.
void MDIRestore( );
Exemple
// CMainFrame::OnRestoreWindow() is a menu command handler for
// CMainFrame class, which in turn is a CMDIFrameWnd-derived class.
// It restores the current active MDI child window from maximized
// or minimized size.
void CMainFrame::OnRestoreWindow()
{
BOOL maximized;
CMDIChildWnd* child = MDIGetActive(&maximized);
if (child && (maximized || child->IsIconic()))
child->MDIRestore(); // or MDIRestore(child);
}
Configuration requise
Header: afxwin.h