Destroying a Window
Posted: Sun Jun 05, 2005 8:31 pm
I've got a main window and a couple of child windows that I create on the fly (as an example - an About window). When the child window is first created, the memory used by the program jumps up to reflect the new window, gadgets, etc... However, when the user clicks the 'Close Button', I call CloseWindow() with the child window but the memory used does not go back down.
Isn't that supposed to be how it works? Shouldn't CloseWindow() free up the window and any child controls and free the memory used by those controls?
Isn't that supposed to be how it works? Shouldn't CloseWindow() free up the window and any child controls and free the memory used by those controls?