CTextRange2.Select_method
Sets the start and end positions, and story values of the active selection, to those of this range.
Syntax
FUNCTION Select_ () AS HRESULT
Return value
The method returns an HRESULT value. If the method succeeds, it returns S_OK. If the method fails, it returns S_FALSE.
Description
Sets the start and end positions, and story values of the active selection, to those of this range.
Remarks
The active end of the new selection is at the end position.
The caret for an ambiguous character position is displayed at the beginning of the line.
Reference
- Defined in AfxNova/CTextRange2.inc:456
- Documented in Windows/WIndows Controls/RichEdit/CTextRange2 Class.md
- Topic: CTextRange2 Class