Retrieves a pointer to the interface of the element that has the focus, which is determined by the activeElement property.
Syntax
HRESULT get_activeElement( IHTMLElement **p );
Parameters
- p
- Address of a pointer to the IHTMLElement interface of the element that currently has the focus.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0