COleInsertDialog::GetSelectionType

UINT GetSelectionType( ) const;

Return Value

Type of selection made.

Remarks

Call this function to get the selection type chosen when the Insert Object dialog box was dismissed by choosing OK.

The return type values are specified by the Selection enumeration type declared in the COleInsertDialog class.

enum Selection
{
   createNewItem,
   insertFromFile,
   linkToFile
};

Brief descriptions of these values follow:

COleInsertDialog OverviewClass MembersHierarchy Chart

See Also   COleInsertDialog::DoModal, COleInsertDialog::COleInsertDialog