hi there, 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->DestroyWindow(); delete m_pEdit; m_pEdit = 0; is the destroywindow necessary ? My senior says that window will not be destroyed if not called DestroyWindow. thanks ahead rajs
Forum Rules
Bookmarks