AnyWin class.
Returns the parent of the window.
wParentWin = window.GetParent()
Variable | Description |
---|---|
wParentWin | The parent of the window. WINDOW. |
WINDOW wParent = MessageBox.GetParent()
To get the caption and the window class name of the parent window, you can use the following code:
STRING sParentCaption = wParent.GetProperty("caption").ToString() STRING sParentClassName = wParent.GetProperty("windowClassName").ToString()