-
January 20th, 2004, 01:04 AM
#1
Destroy window ?
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|