COleInsertDialog Class
Used for the OLE Insert Object dialog box.
class COleInsertDialog : public COleDialog
Members
Public Constructors
Name |
Description |
---|---|
Constructs a COleInsertDialog object. |
Public Methods
Name |
Description |
---|---|
Creates the item selected in the dialog box. |
|
Displays the OLE Insert Object dialog box. |
|
Gets the CLSID associated with the chosen item. |
|
Tells whether to draw the item as an icon. |
|
Gets a handle to the metafile associated with the iconic form of this item. |
|
Gets the full path to the file chosen in the dialog box. |
|
Gets the type of object selected. |
Public Data Members
Name |
Description |
---|---|
A structure of type OLEUIINSERTOBJECT that controls the behavior of the dialog box. |
Remarks
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
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.
Inheritance Hierarchy
COleInsertDialog
Requirements
Header: afxodlgs.h