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.

Inheritance

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

Methods

The IRichEditOleCallback interface has these methods.

 
IRichEditOleCallback::ContextSensitiveHelp

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

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.
IRichEditOleCallback::GetClipboardData

Allows the client to supply its own clipboard object.
IRichEditOleCallback::GetContextMenu

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

Allows the client to specify the effects of a drop operation.
IRichEditOleCallback::GetInPlaceContext

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

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

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

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

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

Requirements

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