How to create a maximized MFC - SDI application ?

Locked How to create a maximized MFC - SDI application ?

  • martedì 7 agosto 2012 08:58
     
     

    Hi,

    I am Tring to create a MFC - SDI Application, for Ploter.  I want a Maximized SDI Window while the Window initilization itself (while the window starts to show,  I should be Maximized.  Please help me to do this.

    Regards,

    Ganesh.


    Thanks & Regards, Ganesan Chandrasekaran.

Tutte le risposte

  • martedì 7 agosto 2012 10:30
     
     Con risposta Contiene codice

    In InitInstance of your CWinApp(Ex) derived class you will find a line

    m_pMainWnd->ShowWindow(SW_SHOW);
    Replace the SW_SHOW with SW_SHOWMAXIMIZED

    • Contrassegnato come risposta Jeevaa martedì 7 agosto 2012 10:38
    •  
  • martedì 7 agosto 2012 10:38
     
     

    Hi Bordon,

    Thanks for the help...

    It is working.


    Thanks & Regards, Ganesan Chandrasekaran.