IRichEditOleCallback

Specifies an interface used by a rich text edit control to retrieve OLE-related information from its client. A rich edit control's client is responsible for implementing this interface and assigning it to the control by using the EM_SETOLEINTERFACE message. The IRichEditOleCallback interface has the following methods:

Methods in Vtable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IRichEditOleCallback Methods Description
GetNewStorage Provides storage for a new object pasted from the clipboard or read in from an RTF stream.
GetInPlaceContext Provides the application and document level interfaces and information required to support in-place activation.
ShowContainerUI Tells the application whether to display its container user interface.
QueryInsertObject Queries the application as to whether an object should be inserted.
DeleteObject Notification that an object is about to be deleted from a rich edit control.
QueryAcceptData Called on a paste or drag to determine if the data pasted/dragged should be accepted.
ContextSensitiveHelp Tells the application that it should transition into or out of context sensitive help mode.
GetClipboardData Allows the client to supply its own clipboard object.
GetDragDropEffect Allows the client to specify the effects of a drop operation.
GetContextMenu Queries the application for a context menu to use on a right mouse button down event.