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.