OK that does make perfect sense that show_window initializes windows and allocates memory for that window. But then I think it's already in memory or at least the windows code is already in memory because I don't see any disk access. I'll point my file monitor to the UI directory and see what is being accessed and when.
So if what we think is true show_window allocates memory for said window then hide_window should deallocate that windows memory or does it just make it !visible. I'll have to test this and see if it does or not. I do know pressing the X (Close button) does not deallocate that windows memory. Now that I think about it I only tested the Close thing with my Notes window and it doesn't use eq2usescomwndcontrols="true" directive so windows that use it my deallocate memory.
|