Export (0) Print
Expand All

COleInsertDialog Class

Used for the OLE Insert Object dialog box.

class COleInsertDialog : public COleDialog

Name

Description

COleInsertDialog::COleInsertDialog

Constructs a COleInsertDialog object.

Name

Description

COleInsertDialog::CreateItem

Creates the item selected in the dialog box.

COleInsertDialog::DoModal

Displays the OLE Insert Object dialog box.

COleInsertDialog::GetClassID

Gets the CLSID associated with the chosen item.

COleInsertDialog::GetDrawAspect

Tells whether to draw the item as an icon.

COleInsertDialog::GetIconicMetafile

Gets a handle to the metafile associated with the iconic form of this item.

COleInsertDialog::GetPathName

Gets the full path to the file chosen in the dialog box.

COleInsertDialog::GetSelectionType

Gets the type of object selected.

Name

Description

COleInsertDialog::m_io

A structure of type OLEUIINSERTOBJECT that controls the behavior of the dialog box.

Create an object of class COleInsertDialog when you want to call this dialog box. After a COleInsertDialog object has been constructed, you can use the m_io structure to initialize the values or states of controls in the dialog box. The m_io structure is of type OLEUIINSERTOBJECT. For more information about using this dialog class, see the DoModal member function.

Note Note

Application Wizard-generated container code uses this class.

For more information, see the OLEUIINSERTOBJECT structure in the Windows SDK.

For more information regarding OLE-specific dialog boxes, see the article Dialog Boxes in OLE.

Header: afxodlgs.h

Show:
© 2014 Microsoft