How to disable the Size item in system menu?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How to disable the Size item in system menu?

  1. #1
    ken Guest

    How to disable the Size item in system menu?


    In my project I don't let the user to resize the form so disable the MaxButton,
    also the Size item in left top system menu. How to disable the Size item?
    Thanks!

  2. #2
    Mattias Sjögren Guest

    Re: How to disable the Size item in system menu?

    Ken,

    >In my project I don't let the user to resize the form so disable the MaxButton,
    >also the Size item in left top system menu. How to disable the Size item?


    If you set the BorderStyle property of your Form to any of the Fixed
    options, there will be no Size item in the system menu.


    Mattias

    ====================================
    Mattias Sjögren - mattias @ mvps.org
    http://www.msjogren.net/dotnet/

    CodeHound - The Software Developer's Search Engine
    http://www.codehound.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center