According to the _WinAPI_IsChild() documentation, this function should return true if a window is child of another window, here is my try to test if this is true, but I failed miserably evidently this is not a "foolproof" function.... could someone smarter than me give a hint on how to use it? thanks #include <WinAPISys.au3>
Local $hParent = GUICreate("Main GUI")
GUISetState(@SW_SHOW, $hParent)
;
Local $hChild = GUICreate("Child GUI", 250, 150, 10, 10)
GUISetState(@SW_SHOW, $hChild)
;
_WinAPI_SetParent($hChild, $hParent)
MsgBox(0, "Is child?", _WinAPI_IsChild($hChild, $hParent))