Help Center

CRichEditCtx.GetSelTextmethod

Retrieves the currently selected text in a rich edit control.

Windowsmethoddocumented

Syntax

FUNCTION GetSelText () AS DWSTRING

Return value

The selected text as a DWSTRING (dynamic unicode string).

Description

Retrieves the currently selected text in a rich edit control.

Reference

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