Editéieren

Deelen iwwer


CFolderPickerDialog Class

Note

The Microsoft Foundation Classes (MFC) library continues to be supported. However, we're no longer adding features or updating the documentation.

CFolderPickerDialog class implements CFileDialog in the folder picker mode.

Syntax

class CFolderPickerDialog : public CFileDialog;

Members

Public Constructors

Name Description
CFolderPickerDialog::~CFolderPickerDialog Destructor.
CFolderPickerDialog::CFolderPickerDialog Constructor.

Remarks

Inheritance Hierarchy

CObject

CCmdTarget

CWnd

CDialog

CCommonDialog

CFileDialog

CFolderPickerDialog

Requirements

Header: afxdlgs.h

CFolderPickerDialog::CFolderPickerDialog

Constructor.

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

Parameters

lpszFolder
Initial folder.

dwFlags
A combination of one or more flags that allow you to customize the dialog box.

pParentWnd
A pointer to the dialog box object's parent or owner window.

dwSize
The size of the OPENFILENAME structure.

Remarks

CFolderPickerDialog::~CFolderPickerDialog

Destructor.

virtual ~CFolderPickerDialog();

Remarks

See also

Classes