Quote:
|
Originally Posted by Zonx
I believe this is a function of how EQ2 manages windows in the memory space. Only certain commonly accessed windows are instantiated in the working memory space automatically. Other windows don't actually exist in memory untill called by show_window. Once shown (loaded to memory) visability functions work as expected.
The idea here is to save memory by only loading what's needed, and if an object doesn't exist yet, you can't set its parameters.
|
That makes sense.
Now we just need to figure out what's so special about OnShow handlers in standard windows

As I said, show_window doesn't work in them.. OTOH this DOES work:
'/MainHUD.MainChat.chat_textbox.NormalTextStyle'='/MainHUD.Compass.Solf.Styles.TextStyles.Font_ChatInput18'
This above line won't work (in my experience) from other places (other than OnShow in standard windows) -- you need to use relative Parent.Parent stuff.
Looks like perhaps when OnShow is executed in standard windows "windows system" is initializing -- and certain things work differently from the "normal" usage.