I use a CDialog derived object.
I allocate memory for the object and create it. How can I destruct this object (delete dosen't work, also DestriyWindow() does not work).
the class definition
CMyDialog: public CDialog
in another class I allocate memory and use the CMyDialog class:
CMyDialog* cMyDialog = new CMyDialog();
after using th dialog I want to delete it.
How can I do it?
Thank you very much,