Compartir a través de


Destroying Window Objects

 

The latest version of this topic can be found at Destroying Window Objects.

Care must be taken with your own child windows to destroy the C++ window object when the user is finished with the window. If these objects are not destroyed, your application will not recover their memory. Fortunately, the framework manages window destruction as well as creation for frame windows, views, and dialog boxes. If you create additional windows, you are responsible for destroying them.

What do you want to know more about

See Also

Window Objects