Retrieves an interface pointer to the topmost ancestor window, which is the current window's own parent.
Syntax
HRESULT get_top( IHTMLWindow2 **p );
Parameters
- p
- Address of a pointer to an IHTMLWindow2 interface that receives the topmost ancestor window.
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