Easy (?) Dialog question
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
I have a dialog based app. In the dialog editor I added the maximize/minimize box. I want the dialog box to START maximized. How can I do this? Thx Adam cabadam@houston.rr.com
-
I have a dialog based app. In the dialog editor I added the maximize/minimize box. I want the dialog box to START maximized. How can I do this? Thx Adam cabadam@houston.rr.com
Handle WM_INITDLG (OnInitDialog). In the handler do this:
PostMessage (WM_SYSCOMMAND, SC_MAXIMIZE);
/ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com
-
Handle WM_INITDLG (OnInitDialog). In the handler do this:
PostMessage (WM_SYSCOMMAND, SC_MAXIMIZE);
/ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com
Thanks! Adam cabadam@houston.rr.com