COleInsertDialog::GetClassID
Call this function to get the CLSID associated with the selected item only if DoModal returns IDOK and the selection type is COleInsertDialog::createNewItem.
REFCLSID GetClassID( ) const;
Return Value
Returns the CLSID associated with the selected item.
Remarks
For more information, see CLSID Key in the Windows SDK.
Requirements
Header: afxodlgs.h
See Also
Reference
COleInsertDialog::GetSelectionType