I have SDI project, with CFormView as base class. My code in OnInitDialog() is not executing. I have tried AfxMessageBos() there, it does not show up!
What could be the possible reason and remedy of this?
Printable View
I have SDI project, with CFormView as base class. My code in OnInitDialog() is not executing. I have tried AfxMessageBos() there, it does not show up!
What could be the possible reason and remedy of this?
OnInitDialog is called on response to message WM_INITDIALOG.
But this message is not sent to a CFormView but only to a CDialog based class when calling Create, CreateIndirect or DoModal
For a Form use OnInitialUpdate()
Sally