CFileDialog::OnFileNameChange

virtual void OnFileNameChange( );

Remarks

Override this function to handle the WM_NOTIFY CDN_SELCHANGE message. The notification message is sent when the user selects a new file or folder in the file list of the Open or Save As dialog box.

Notification is sent only if the dialog box was created with the OFN_EXPLORER style. For more information about the notification, see CDN_SELCHANGE. For information about the OFN_EXPLORER style, see the OPENFILENAME structure and Open and Save As Dialog Boxes.

CFileDialog OverviewClass MembersHierarchy Chart

See Also   CFileDialog::OnFolderChange