Syntax
Window = LayoutGetParentWindow(Layout=#Null)Description
Retrieves the top-level parent window handle that hosts the given layout.
Parameters
Layout (optional)
The handle of the layout object. If omitted or #Null, it
uses the currently active layout.
Return Value
Returns the handle of the ProGUI window that ultimately owns this
layout, or #False if no valid parent window exists or the
layout handle is invalid.
Remarks
Because layouts can be deeply nested within widgets and other layouts, this function recursively walks up the hierarchy to find the top-level window.
See Also
WindowGetLayout, LayoutGetParentWidget, LayoutGetParentLayout
Supported OS
Windows, Linux