Restoring the size of the closed window

Discussion in 'MFC' started by ragaven, Aug 5, 2008.

  1. ragaven

    ragaven New Member

    Joined:
    Aug 1, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Hi friends.....
    My application window's normal size is minimized. Consider I maximized the window and closed the application. If I again open the application I should get the window in the maximized position. But it appears in the normal minimum position.I have used VC++-MFC resource editor for creating the window. what should I do now?...
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    You should store the state of the window when closed and when it shows again need to restore to the previously stored state.
     
  3. ragaven

    ragaven New Member

    Joined:
    Aug 1, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Thank you for your kind reply.. Its working now....
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice