Solved

In .net how to mask / hide the maximize box without masking the minimize box?

Posted on 2006-10-24
3
371 Views
Last Modified: 2008-02-01

if we set form.maximizebox = false then the maximize box is disable but still visible.
If both maximizebox and minimizebox are set to false then both are unvisible.


How to hide the maximize box of a form without masking the minimize box?

0
Comment
Question by:mguilhem
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 500 total points
ID: 17794098
The only way to customize buttons appearance is to provide your own code for title bar area, which takes care about redrawing and handling mouse messages. This task is so difficult that it is better to forget about this and use standard title bar, which doesn't allow to show only two buttons.
0
 
LVL 9

Expert Comment

by:jonorossi
ID: 17795849
This is a deliberate action by Microsoft. The idea if that the right button is close, the second one from the right is maximise and the 3rd from the right is the minimise. It would not be a good idea to change this to make the 2nd from the right the minimise because most users wont look at the icon every time they want to use them, they will just assume they are the same for every program because that is how every other program works.

Is there a reason you don't want the maximise button to show at all?
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question