IVDctText::TextSelGet

HRESULT TetSelGet (DWORD *pdwStart, DWORD *pdwNumChars);

Returns the position of the text selection within the virtual text field. Applications should keep this in sync with the text they display to the user. If the selection's screen coordinates change the application should call IVDctGUI::SetSelRect.

· Returns NOERROR if successful, or one of these error values:

E_INVALIDARG
E_OUTOFMEMORY

pdwStart

[out] Filled with the starting character of the selection.

pdwNumChars

[out] Filled with the number of characters of selection. If pdwNumChars is set to 0 then the selection is actually an insertion point.