How to open my Mainframe
-
Hi all, I want my mainframe to open in the maximized view defaultly,now i'm using the maximize button to do that,can anybody plz help in this. Regards.. saravana...
-
Hi all, I want my mainframe to open in the maximized view defaultly,now i'm using the maximize button to do that,can anybody plz help in this. Regards.. saravana...
On the last lines of CMyApp::InitInstance () if (!ProcessShellCommand(cmdInfo)) return FALSE; pMainFrame->ShowWindow(m_nCmdShow
| SW_SHOWMAXIMIZED
); pMainFrame->UpdateWindow(); return TRUE;Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you ;)
-
On the last lines of CMyApp::InitInstance () if (!ProcessShellCommand(cmdInfo)) return FALSE; pMainFrame->ShowWindow(m_nCmdShow
| SW_SHOWMAXIMIZED
); pMainFrame->UpdateWindow(); return TRUE;Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you ;)
thanq nelek..,it is working..plz help mi how to get my child window maximised.. thanks in advance saravana...
-
thanq nelek..,it is working..plz help mi how to get my child window maximised.. thanks in advance saravana...
The principle is the same, but you should place it in CChildFrm::PreCreateWindow (...) take a look into the info of
CREATESTRUCT
, specially to thecs.style
parameter/flagGreetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you ;)