Help Center

CTextDocument2.GetSelection2method

Gets the active selection.

Windowsmethoddoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION GetSelection2 () AS ITextSelection2 PTR

Return value

A pointer to the ITextSelection2 interface of the selection. This pointer is NULL if the rich edit control is not in-place active.

Description

Gets the active selection.

Reference