Messages not handled when creating modeless dialog
Posted on 1998-12-18
I am trying to create a modeless dialog within an ATL object using MFC. If I call the CDialog::DoModal() method everything works fine. All messages that I need are handled and the window works fine.
If I call CDialog::Create() however, I don't seem to get the chance to handle the standard messages like PreTranslateMessage or OnDestroy. Why is this and how do I fix it?