Modaless dialog
-
I have a modal dialog, but I want to change it into a modaless one. I must have some controls initilized in OnInitDialog(). ... m_pDC = m_pWnd->GetDC(); m_comboCtl.SetCurSel(0); ... But modaless dialog can't reply to WM_INITDIALOG message. How can I change them?
-
I have a modal dialog, but I want to change it into a modaless one. I must have some controls initilized in OnInitDialog(). ... m_pDC = m_pWnd->GetDC(); m_comboCtl.SetCurSel(0); ... But modaless dialog can't reply to WM_INITDIALOG message. How can I change them?
http://www.codeproject.com/useritems/gettingmodeless.asp Nish Yeah that's me down below ;-)
-
http://www.codeproject.com/useritems/gettingmodeless.asp Nish Yeah that's me down below ;-)
But I still have a question... Where can I have my controls, like combo control, progress control, etc. initialized? OnSize(), OnMove() seem not to be a right place.
-
But I still have a question... Where can I have my controls, like combo control, progress control, etc. initialized? OnSize(), OnMove() seem not to be a right place.
You do all initialization in OnInitDialog. Just like in the modal dialog. Nish Yeah that's me down below ;-)
-
You do all initialization in OnInitDialog. Just like in the modal dialog. Nish Yeah that's me down below ;-)
Thank you! Just so easy!! Windows98 SE, VC++ 6.0 SP5