Help Center

RichEdit_SelectionTypefunction

Determines the selection type for a rich edit control.

Windowsfunctiondocumented

Syntax

FUNCTION RichEdit_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/AfxRichEdit.inc:745
  • Documented in Windows/WIndows Controls/RichEdit/RichEdit Procedures.md
  • Topic: RichEdit Procedures