Windows Dev Center

ITextRange::Select method

Sets the start and end positions, and story values of the active selection, to those of this range.

Syntax


HRESULT Select();

Parameters

This method has no parameters.

Return value

Type: HRESULT

The method returns an HRESULT value. If the method succeeds, it returns S_OK. If the method fails, it returns S_FALSE.

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.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

Reference
ITextRange
Conceptual
Text Object Model

 

 

Community Additions

ADD
Show:
© 2015 Microsoft