Quote:
Originally Posted by fowlplay4
It's either GraalControl or GUIContainer (not sure...)
|
GraalControl is a child of GUIContainer. GUIContainer is the entire window and contains stuff like the trial upgrade nag bar and the task bar. GraalControl contains just the game. In 99% of circumstances you will only need to deal with GraalControl. In this case he wants GraalControl (all windows are children of GraalControl by default).
Additionally, it might be more robust to check:
PHP Code:
if (temp.ctrl.objectType() == "GuiWindowCtrl") {