COlePasteSpecialDialog Class
Used for the OLE Paste Special dialog box.
class COlePasteSpecialDialog : public COleDialog
Members
Public Constructors
Name |
Description |
---|---|
Constructs a COlePasteSpecialDialog object. |
Public Methods
Name |
Description |
---|---|
Adds custom formats to the list of formats your application can paste. |
|
Adds a new entry to the list of supported Clipboard formats. |
|
Adds CF_BITMAP, CF_DIB, CF_METAFILEPICT, and optionally CF_LINKSOURCE to the list of formats your application can paste. |
|
Creates the item in the container document using the specified format. |
|
Displays the OLE Paste Special dialog box. |
|
Tells whether to draw item as an icon or not. |
|
Gets a handle to the metafile associated with the iconic form of this item. |
|
Gets the index of available paste options that was chosen by the user. |
|
Gets the type of selection chosen. |
Public Data Members
Name |
Description |
---|---|
A structure of type OLEUIPASTESPECIAL that controls the function of the dialog box. |
Remarks
Create an object of class COlePasteSpecialDialog when you want to call this dialog box. After a COlePasteSpecialDialog object has been constructed, you can use the AddFormat and AddStandardFormats member functions to add Clipboard formats to the dialog box. You can also use the m_ps structure to initialize the values or states of controls in the dialog box. The m_ps structure is of type OLEUIPASTESPECIAL.
For more information, see the OLEUIPASTESPECIAL structure in the Windows SDK.
For more information regarding OLE-specific dialog boxes, see the article Dialog Boxes in OLE.
Inheritance Hierarchy
COlePasteSpecialDialog
Requirements
Header: afxodlgs.h