IRichEditOleCallback interface (richole.h)

The IRichEditOleCallback interface is used by a rich text edit control to retrieve OLE-related information from its client. A rich edit control client is responsible for implementing this interface and assigning it to the control by using the EM_SETOLECALLBACK message.


The IRichEditOleCallback interface inherits from the IUnknown interface. IRichEditOleCallback also has these types of members:


The IRichEditOleCallback interface has these methods.


Indicates if the application should transition into or out of context-sensitive help mode. This method should implement the functionality described for IOleWindow::ContextSensitiveHelp.

Sends notification that an object is about to be deleted from a rich edit control. The object is not necessarily being released when this member is called.

Allows the client to supply its own clipboard object.

Queries the application for a context menu to use on a right-click event.

Allows the client to specify the effects of a drop operation.

Provides the application and document-level interfaces and information required to support in-place activation.

Provides storage for a new object pasted from the clipboard or read in from an Rich Text Format (RTF) stream.

During a paste operation or a drag event, determines if the data that is pasted or dragged should be accepted.

Queries the application as to whether an object should be inserted. The member is called when pasting and when reading Rich Text Format (RTF).

Indicates whether or not the application is to display its container UI.


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header richole.h