Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

IHTMLSelectionObject::type Property

Retrieves the type of selection.

Syntax


HRESULT IHTMLSelectionObject::get_type(BSTR *p);

Parameters

p
Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.

Possible Values

None No selection/insertion point.
Text Specifies a text selection.
Control Specifies a control selection, which enables dimension controls allowing the selected object to be resized.

Return Value

Returns S_OK if successful, or an error value otherwise.

Community Additions

Show:
© 2015 Microsoft