Export (0) Print
Expand All

CFileDialog Members 

Base Class Members

CObject Members

CCmdTarget Members

CWnd Members

CDialog Members

CCommonDialog Members

Data Members

m_ofn

The Windows OPENFILENAME structure. Provides access to basic file dialog box parameters.

Construction

CFileDialog

Constructs a CFileDialog object.

Operations

DoModal

Displays the dialog box and allows the user to make a selection.

GetFileExt

Returns the file extension of the selected file.

GetFileName

Returns the filename of the selected file.

GetFileTitle

Returns the title of the selected file.

GetFolderPath

Retrieves the path of the currently open folder or directory for an Explorer-style Open or Save As common dialog box.

GetNextPathName

Returns the full path of the next selected file.

GetOFN

Retrieves the OPENFILENAME structure of the CFileDialog object.

GetPathName

Returns the full path of the selected file.

GetReadOnlyPref

Returns the read-only status of the selected file.

GetStartPosition

Returns the position of the first element of the filename list.

HideControl

Hides the specified control in an Explorer-style Open or Save As common dialog box.

SetControlText

Sets the text for the specified control in an Explorer-style Open or Save As common dialog box.

SetDefExt

Sets the default file name extension for an Explorer-style Open or Save As common dialog box.

SetTemplate

Sets the dialog box template for the CFileDialog object.

Overridables

OnFileNameChange

Called to handle the WM_NOTIFY CDN_SELCHANGE message.

OnFileNameOK

Called to validate the filename entered in the dialog box.

OnFolderChange

Called to handle the WM_NOTIFY CDN_FOLDERCHANGE message.

OnInitDone

Called to handle the WM_NOTIFY CDN_INITDONE message.

OnLBSelChangedNotify

Called when the list box selection changes.

OnShareViolation

Called when a share violation occurs.

OnTypeChange

Called to handle the WM_NOTIFY CDN_TYPECHANGE message.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft