Link to home
Start Free TrialLog in
Avatar of sunraj
sunraj

asked on

modeless dialogs

hi regards!
i already asked this question, but i didn't get convincing reply. Please do explain modeless dialog, the arguments
passed to it's create member function. Please cite an
example. Is it a must to allocate dynamically the memmory for modeless dialogs ? ..................
ASKER CERTIFIED SOLUTION
Avatar of pagladasu
pagladasu

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ramrocket
ramrocket

You must also override CDialog::PostNcDestroy()

void CMyDialog::PostNcDestroy()
{
  delete this;
}

so you dont need to explicitly delete m_pdlg