RichEdit_SetOleCallbackfunction
Gives a rich edit control an IRichEditOleCallback object that the control uses to get OLE-related resources and information from the client.
Syntax
FUNCTION RichEdit_SetOleCallback (BYVAL hRichEdit AS HWND, BYVAL pCallback AS ANY PTR) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
pCallback | Pointer to an IRichEditOleCallback object. The control calls the AddRef method for the object before returning. |
Return value
If the operation succeeds, the return value is a nonzero value.
If the operation fails, the return value is zero.
Description
Gives a rich edit control an IRichEditOleCallback object that the control uses to get OLE-related resources and information from the client.
Reference
- Defined in AfxNova/AfxRichEdit.inc:909
- Documented in Windows/WIndows Controls/RichEdit/RichEdit Procedures.md
- Topic: RichEdit Procedures