RichTextBox.CreateRichEditOleCallback Method

Definition

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

protected virtual object CreateRichEditOleCallback ();

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

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9