Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Base Class Members
Data Members
The Windows OPENFILENAME structure. Provides access to basic file dialog box parameters. |
Construction
Constructs a CFileDialog object. |
Operations
Adds a check button to the dialog. |
|
Adds a combo box to the dialog. |
|
Adds an item to a container control in the dialog. |
|
Adds an edit box to the dialog. |
|
Adds a menu to the dialog. |
|
Overloaded. Adds a folder to the list of places available for the user to open or save items. |
|
Adds a button to the dialog. |
|
Adds an option button (also known as radio button) group to the dialog. |
|
Adds a separator to the dialog. |
|
Adds text content to the dialog. |
|
Updates the state of the CFileDialog to match the parameters and flags stored in the m_ofn member variable. |
|
Displays the dialog box and enables the user to make a selection. |
|
Enables a drop-down list on the Open or Save button in the dialog. |
|
Stops the addition of elements to a visual group in the dialog. |
|
Gets the current state of a check button (check box) in the dialog. |
|
Gets the current state of an item in a container control found in the dialog. |
|
Gets the current visibility and enabled states of a given control. |
|
Gets the current text in an edit box control. |
|
Returns the extension of the selected file. |
|
Returns the file name of the selected file. |
|
Returns the title of the selected file. |
|
Retrieves the path of the currently open folder or directory for an Explorer-style Open or Save As common dialog box. |
|
Retrieves the internal COM object for a customized CFileDialog object. |
|
Retrieves the internal COM object for a CFileDialog that is used as an Open file dialog box. |
|
Retrieves the internal COM object for a CFileDialog that is used as a Save file dialog box. |
|
Returns the full path of the next selected file. |
|
Retrieves the OPENFILENAME structure of the CFileDialog object. |
|
Returns the full path of the selected file. |
|
Returns the read-only status of the selected file. |
|
Gets the choice that the user made in the dialog. |
|
Gets the user's choices in a dialog that allows multiple selection. |
|
Gets a particular item from specified container controls in the dialog. |
|
Returns the position of the first element of the file name list. |
|
Hides the specified control in an Explorer-style Open or Save As common dialog box. |
|
Determines if the current dialog in folder picker mode. |
|
Places a control in the dialog so that it stands out compared to other added controls. |
|
Removes an item from a container control in the dialog. |
|
Sets the current state of a check button (check box) in the dialog. |
|
Sets the current state of an item in a container control found in the dialog. |
|
Sets the text of a control item. For example, the text that accompanies a radio button or an item in a menu. |
|
Sets the text associated with a control, such as button text or an edit box label. |
|
Sets the current visibility and enabled states of a given control. |
|
Sets the text for the specified control in an Explorer-style Open or Save As common dialog box. |
|
Sets the default file name extension for an Explorer-style Open or Save As common dialog box. |
|
Sets the current text in an edit box control. |
|
Provides a property store that defines the default values to be used for the item being saved. |
|
Sets the selected state of a particular item in an option button group or a combo box found in the dialog. |
|
Sets the dialog box template for the CFileDialog object. |
|
Declares a visual group in the dialog. Subsequent calls to any "add" method add those elements to this group. |
|
Updates the data stored in the m_ofn member variable to match the current state of the file dialog box. |
Overridables
Called when the button is clicked. |
|
Called when the check box is checked/unchecked. |
|
Called when the control is being active. |
|
Handles the WM_NOTIFY CDN_SELCHANGE message. |
|
Validates the file name entered in the dialog box. |
|
Handles the WM_NOTIFY CDN_FOLDERCHANGE message. |
|
Handles the WM_NOTIFY CDN_INITDONE message. |
|
Called when the container item is being selected. |
|
Allows you to perform custom actions when the file selection changes. |
|
Handles share violations. |
|
Handles the WM_NOTIFY CDN_TYPECHANGE message. |