Solved

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

Posted on 2006-10-24
3
368 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
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

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…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 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