Destroying Window Objects
This documentation is archived and is not being maintained.

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.

Show:
© 2016 Microsoft