CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    2

    How to stop Maximized app being restored?

    Hi,

    I have an SDI app with a title bar, but no system menu or min, max, close buttons. I start the app maximized, and I don't want the user to be able to change this. However, when the user double clicks the title bar, the Main window is restored. Double clicking again does not maximize it. How can I stop this so it always stays maximized?

    thanks,

    uniken


  2. #2
    Join Date
    Apr 1999
    Posts
    14

    Re: How to stop Maximized app being restored?

    trap WM_SYSCOMMAND messages and dont process SC_RESTORE or SC_MINIMIZE ?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured