CFileDialog Members

CFileDialog 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

ApplyOFNToShellDialog

Updates the state of the CFileDialog to match the parameters and flags stored in the m_ofn member variable.

DoModal

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

GetFileExt

Returns the extension of the selected file.

GetFileName

Returns the file name 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.

GetIFileDialogCustomize

Retrieves the internal COM object for a customized CFileDialog object.

GetIFileOpenDialog

Retrieves the internal COM object for a CFileDialog that is used as an Open file dialog box.

GetIFileSaveDialog

Retrieves the internal COM object for a CFileDialog that is used as a Save file 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 file name 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.

UpdateOFNFromShellDialog

Updates the data stored in the m_ofn member variable to match the current state of the file dialog box.

Overridables

OnFileNameChange

Handles the WM_NOTIFY CDN_SELCHANGE message.

OnFileNameOK

Validates the file name entered in the dialog box.

OnFolderChange

Handles the WM_NOTIFY CDN_FOLDERCHANGE message.

OnInitDone

Handles the WM_NOTIFY CDN_INITDONE message.

OnLBSelChangedNotify

Allows you to perform custom actions when the file selection changes.

OnShareViolation

Handles share violations.

OnTypeChange


Handles the WM_NOTIFY CDN_TYPECHANGE message.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值