hidding a dialog bassed app. at startup
-
Hi, Does anyone know how to hide a dialog based app. when it's started. I've tried to ShowWindow(SW_HIDE) in OnInitDlg(), but it doesn't work. Is there a way to hide the dialog? Would overloading the DoModal() be a solution? Or is there an easier way? Thanks in advance! Christian
-
Hi, Does anyone know how to hide a dialog based app. when it's started. I've tried to ShowWindow(SW_HIDE) in OnInitDlg(), but it doesn't work. Is there a way to hide the dialog? Would overloading the DoModal() be a solution? Or is there an easier way? Thanks in advance! Christian
In the initinstance of the app it should be calling DoModal, you can just comment that out. C. Zieler ================== The original message was: Hi,
Does anyone know how to hide a dialog based app. when it's started. I've tried to ShowWindow(SW_HIDE) in OnInitDlg(), but it doesn't work. Is there a way to hide the dialog? Would overloading the DoModal() be a solution? Or is there an easier way?
Thanks in advance!
Christian