January 20th, 2004, 12:04 AM
Destroy window ?
I have a CEdit *m_pEdit pointer, it will be dynamically created using new and create fucntion and deleted using delete. My question is before deleting should we call the DestroyWindow function ? for ex :
m_pEdit = 0;
is the destroywindow necessary ?
My senior says that window will not be destroyed if not called DestroyWindow.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!