Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
MFC
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

CRichEditCtrl::SetOLECallback 

Gives this CRichEditCtrl object an IRichEditOleCallback object to use to access OLE-related resources and information.


BOOL SetOLECallback(
   IRichEditOleCallback* pCallback 
);

Parameters

pCallback

Pointer to an IRichEditOleCallback object that this CRichEditCtrl object will use to get OLE-related resources and information.

Nonzero if successful; otherwise, 0.

This CRichEditCtrl object will call IUnknown::AddRef to increment the usage count for the COM object specified by pCallback.

For more information, see EM_SETOLECALLBACK message and IRichEditOleCallback interface in the Platform SDK.

Community Additions

ADD
Show:
© 2015 Microsoft