CCommonDialog Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CCommonDialog Class.

The base class for classes that encapsulate functionality of the Windows common dialogs.

class CCommonDialog : public CDialog  

Public Constructors

NameDescription
CCommonDialog::CCommonDialogConstructs a CCommonDialog object.

The following classes encapsulate the functionality of the Windows common dialogs:

CObject

CCmdTarget

CWnd

CDialog

CCommonDialog

Header: afxdlgs.h

Constructs a CCommonDialog object.

explicit CCommonDialog(CWnd* pParentWnd);

Parameters

pParentWnd
Points to the parent or owner window object (of type CWnd) to which the dialog object belongs. If it is NULL, the dialog object's parent window is set to the main application window.

Remarks

See CDialog::CDialog for complete information.

CDialog Class
Hierarchy Chart
CFileDialog Class
CFontDialog Class
CColorDialog Class
CPageSetupDialog Class
CPrintDialog Class
CFindReplaceDialog Class
COleDialog Class

Show: