Click to See Complete Forum and Search --> : URGENT: code in OnInitDialog() is not executing!


Shahzad
May 15th, 1999, 07:12 AM
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?

eric33
May 15th, 1999, 08:00 AM
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

sally
May 15th, 1999, 10:30 PM
For a Form use OnInitialUpdate()

Sally

Sally
May 15th, 1999, 10:30 PM
For a Form use OnInitialUpdate()

Sally