IRichEditOleCallback interface

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.

Members

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

Methods

The IRichEditOleCallback interface has these methods.

MethodDescription
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.

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.

GetClipboardData

Allows the client to supply its own clipboard object.

GetContextMenu

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

GetDragDropEffect

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

GetInPlaceContext

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

GetNewStorage

Provides storage for a new object pasted from the clipboard or read in from an RTF stream.

QueryAcceptData

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

QueryInsertObject

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

ShowContainerUI

Indicates whether or not the application is to display its container UI. The rich edit control looks ahead for double-clicks and defers the call if appropriate. Applications may defer hiding adornments until an IOleInPlaceUIWindow::SetBorderSpace call is received.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Richole.h

DLL

Msftedit.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft