CODController::FileExportPrompt

BOOLCODController::FileExportPrompt(CString&strFileName, DWORD*pFilterIdx, UINTnTitleID, UINTnFilterID)

Prompts the user for a filename and format to export diagram into.

Defined in: OdController.cpp

Return Value

TRUE if user selected a filename, FALSE if the user cancelled.

Parameters

strFileName

Output parameter for filename.

pFilterIdx

Returns the index of the file filter selected.

nTitleID

String resource ID for dialog title.

nFilterID

String resource ID for file filter.

Comments

This function displays a file save dialog that allows the user to select a filename to export to.