Help Center

AfxCRichEditCtxPtrfunction

Overloaded function that retrieves a pointer to the `CRichEditCtx`class from the handle of the rich edit control or from the handle of its parent window and the control's identifier.

Windowsfunctiondocumented

Syntax

FUNCTION AfxCRichEditCtxPtr OVERLOAD (BYVAL hRichEdit AS HWND) AS CRichEditCtx PTR
FUNCTION AfxCRichEditCtxPtr OVERLOAD (BYVAL hParent AS HWND, BYVAL cID AS LONG) AS CRichEditCtx PTR

Parameters

NameDescription
hRichEditHandle of the rich edit control.
hParentHandle of the parent window of the rich edit control.
cIDIdentifier of the rich edit control.

Return value

A pointer to the CRichEditCtx class.

Description

Overloaded function that retrieves a pointer to the CRichEditCtxclass from the handle of the rich edit control or from the handle of its parent window and the control's identifier.

Reference

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