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.
Call this function to get the full path of the selected file only if DoModal returns IDOK and the selection type is not COleInsertDialog::createNewItem.
CString GetPathName( ) const;
Return Value
The full path to the file selected in the dialog box. If the selection type is createNewItem, this function returns a meaningless CString in release mode or causes an assertion in debug mode.
Requirements
Header: afxodlgs.h
See Also
Reference
COleInsertDialog::GetSelectionType