Freigeben über


CRichEditCtrl::SetOLECallback

BOOL SetOLECallback( IRichEditOleCallback* pCallback );

Parameters

pCallback

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

Return Value

Nonzero if successful; otherwise, 0.

Remarks

Call this function to give this CRichEditCtrl object an IRichEditOleCallback object to use to access OLE-related resources and information. This CRichEditCtrl object will call to increment the usage count for the COM object specified by pCallback.

For more information, see message and interface in the Win32 documentation.

CRichEditCtrl OverviewClass MembersHierarchy Chart

See Also   CRichEditCtrl::GetIRichEditOle