Help Center

CRichEditOleCallback.ContextSensitiveHelpmethod

Indicates if the application should transition into or out of context-sensitive help mode. This method should implement the functionality described for [IOleWindow.ContextSensitiveHelp](https://learn.microsoft.com/en-us/windows/win32/api/oleidl/nf-oleidl-iolewindow-contextsensitivehelp).

Windowsmethoddocumented

Syntax

FUNCTION ContextSensitiveHelp (BYVAL fEnterMode AS WINBOOL) AS HRESULT

Parameters

NameDescription
fEnterModeIf TRUE, the application should enter context-sensitive help mode. If FALSE, the application should leave context-sensitive help mode.

Return value

Returns S_OK on success. If the method fails, it can return the following value.

Description

Indicates if the application should transition into or out of context-sensitive help mode. This method should implement the functionality described for IOleWindow.ContextSensitiveHelp.

Reference

  • Defined in AfxNova/CRichEditOleCallback.inc:37
  • Documented in Windows/WIndows Controls/RichEdit/CRichEditOleCallback Class.md
  • Topic: CRichEditOleCallback Class