Share via


CFolderPickerDialog 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 CFolderPickerDialog Class.

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