CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 1999
    Location
    Sandhem, Sweden
    Posts
    35

    Disabling the Maximize button on an MDI form.

    On a normal form it's possible to disable the Maximize Window button by settings the property MaxButton to FALSE. But on an MDI form this property doesn't exist. Is there a way to disable this button by using the SendMessage API or is there another way to handle it?

    Thanks in advance,
    Michael Nattfalk



  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: Disabling the Maximize button on an MDI form.

    You can find code to do this (from the comments) at this link on the site :

    http://codeguru.developer.com/vb/articles/1800.shtml

    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

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