共用方式為


CFolderPickerDialog 類別

CFolderPickerDialog 類別會在資料夾選擇器模式中實作 CFileDialog

語法

class CFolderPickerDialog : public CFileDialog;

成員

公用建構函式

名稱 描述
CFolderPickerDialog::~CFolderPickerDialog 解構函式。
CFolderPickerDialog::CFolderPickerDialog 建構函式。

備註

繼承階層架構

CObject

CCmdTarget

CWnd

CDialog

CCommonDialog

CFileDialog

CFolderPickerDialog

需求

標頭:afxdlgs.h

CFolderPickerDialog::CFolderPickerDialog

建構函式。

explicit CFolderPickerDialog(
    LPCTSTR lpszFolder = NULL,
    DWORD dwFlags = 0,
    CWnd* pParentWnd = NULL,
    DWORD dwSize = 0);

參數

lpszFolder
初始資料夾。

dwFlags
一或多個旗標的組合,可讓您自訂對話方塊。

pParentWnd
對話方塊物件的父視窗或擁有者視窗的指標。

dwSize
結構的大小 OPENFILENAME

備註

CFolderPickerDialog::~CFolderPickerDialog

解構函式。

virtual ~CFolderPickerDialog();

備註

另請參閱

類別