parent property

Retrieves the parent of the window in the object hierarchy.


HRESULT value = object.get_parent(IHTMLWindow2** p);

Property values

Type: Object

the parent.


For a document, the parent is the containing window. For a window defined using frame, the parent is the window that contains the corresponding frameSet definition.