Edit

Share via


CCommonDialog Class

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

Syntax

class CCommonDialog : public CDialog

Members

Public Constructors

Name Description
CCommonDialog::CCommonDialog Constructs a CCommonDialog object.

Remarks

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

Inheritance Hierarchy

CObject

CCmdTarget

CWnd

CDialog

CCommonDialog

Requirements

Header: afxdlgs.h

CCommonDialog::CCommonDialog

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.

See also

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