parent property

Retrieves the parent of the window in the object hierarchy.

Syntax

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

Property values

Type: Object

the parent.

Remarks

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.