Help Center

CRichEdit.SelectionTypemethod

Determines the selection type for a rich edit control.

Windowsmethoddocumented

Syntax

FUNCTION SelectionType (BYVAL hRichEdit AS HWND) AS LONG

Parameters

NameDescription
hRichEditThe handle of the rich edit control.

Return value

If the selection is not empty, the return value is a set of flags containing one or more of the following values.

Description

Determines the selection type for a rich edit control.

Remarks

This message is useful during WM_SIZE processing for the parent of a bottomless rich edit control.

Reference

  • Defined in AfxNova/CRichEdit.inc:930
  • Documented in Windows/WIndows Controls/CRichEdit Class.md
  • Topic: CRichEdit Class