Quote:
|
Originally Posted by Landiin
- If you want for window to be shown (_any_ non default hud window including such things as ZoneReuse window), you HAVE to issue show_window command. Setting Visible=True has no effect prior to show_window.
Not true, you have to back out far enuff to get a handle on the window you want to be visible by calling its parent node. Yes you can use show_winodw command like you do but you are causing the game to execute the show_window code where if you do Parent.blah.visible=True you bypass that step freeing up clock cycles. All the show_window command does is set visible to true, it works kind of like an API call.
- After show_window has been successfully issued, you can manipulate window using Visible=true/false.
show_window never has to be used to make a window visible
- show_window appears to do NOT work when issued from OnShow handler of the standard windows that are automatically-shown (i.e. it doesn't work for Compass window, but it does work for Target window that is not shown immediatelly).
Correct, and thats because when it first proccesses the file its visible property is already set to true. If you go into the file and add visible=False it will fire when its proccessed.
|
No disrespect intended, but I have trouble believing you. Like I said, I've been testing it for quite some time. And I could not get windows to show in any fashion. Including setting visible=false etc.
If you could point me to a piece of code that is known to work (i.e. auto-show any window that is not shown by standard UI), I'd greatly appreciate that. Otherwise we are stuck where you are telling me that something works while I believe that I've tested it -- and it doesn't. So it looks like one of us is wrong
