COleInsertDialog::GetPathName

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.

Remarks

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.

COleInsertDialog OverviewClass MembersHierarchy Chart

See Also   COleInsertDialog::GetSelectionType, COleInsertDialog::DoModal