View Single Post
  #13  
Unread 05-21-2006, 02:14 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

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.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote