CMFCWindowsManagerDialog Class

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

The CMFCWindowsManagerDialog object enables a user to manage MDI child windows in a MDI application.

class CMFCWindowsManagerDialog : public CDialog  

Public Constructors

NameDescription
CMFCWindowsManagerDialog::CMFCWindowsManagerDialogConstructs a CMFCWindowsManagerDialog object.

The CMFCWindowsManagerDialog contains a list of MDI child windows that are currently open in the application. The user can manually control the state of the MDI child windows by using this dialog box.

CMFCWindowsManagerDialog is embedded inside the CMDIFrameWndEx Class. The CMFCWindowsManagerDialog is not a class that you should create manually. Instead, call the function CMDIFrameWndEx::ShowWindowsDialog, and it will create and display a CMFCWindowsManagerDialog object.

The following example demonstrates how to construct a CMFCWindowsManagerDialog object by calling CMDIFrameWndEx::ShowWindowsDialog. This code snippet is part of the Visual Studio Demo sample.

void CMainFrame::OnWindowManager()
{
	ShowWindowsDialog();
}

CObject

CCmdTarget

CWnd

CDialog

CMFCWindowsManagerDialog

Header: afxWindowsManagerDialog.h

Constructs a CMFCWindowsManagerDialog object.

CMFCWindowsManagerDialog(
    CMDIFrameWndEx* pMDIFrame,  
    BOOL bHelpButton = FALSE);

Parameters

[in] pMDIFrame
A pointer to the parent or owner window.

[in] bHelpButton
A Boolean parameter that specifies whether the framework displays a Help button.

Remarks

For more information about visual managers, see Visualization Manager.

Hierarchy Chart
Classes
CMDIFrameWndEx Class

Show: