Solved

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

Posted on 2006-10-24
3
362 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
Comment Utility
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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now