RichTextBox.CreateRichEditOleCallback Method

Definition

Creates an IRichEditOleCallback-compatible object for handling rich-edit callback operations.

protected:
 virtual System::Object ^ CreateRichEditOleCallback();
protected virtual object CreateRichEditOleCallback ();
abstract member CreateRichEditOleCallback : unit -> obj
override this.CreateRichEditOleCallback : unit -> obj
Protected Overridable Function CreateRichEditOleCallback () As Object

Returns

An object that implements the IRichEditOleCallback interface.

Notes to Inheritors

You can override this method in your derived class to enable access to the underlying rich-edit features. If you override this method, all drag-and-drop events will not be raised. As a result, you will have to provide your own support for drag-and-drop operations. For more information about the IRichEditOleCallback interface, see the Platform SDK documentation at https://learn.microsoft.com/windows/win32/api/richole/nn-richole-iricheditolecallback.

Applies to