共用方式為


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.

Requirements

Header: afxdlgs.h

See Also

Reference

CCommonDialog Class

Hierarchy Chart

CDialog::CDialog