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.

class CFolderPickerDialog : public CFileDialog;  

Public Constructors

NameDescription
CFolderPickerDialog::~CFolderPickerDialogDestructor.
CFolderPickerDialog::CFolderPickerDialogConstructor.

CObject

CCmdTarget

CWnd

CDialog

CCommonDialog

CFileDialog

CFolderPickerDialog

Header: afxdlgs.h

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

Destructor.

virtual ~CFolderPickerDialog();

Remarks

Classes

Show: