473,378 Members | 1,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

ControlBox in Windows Form

Atran
319 100+
Hello EeveyBody, I want to disable my controlbox, I can disable it but all the boxes hide, I do not want that, I want just the minimize and the maximize boxes hide. Thanks for anyhelp.
May 31 '07 #1
2 1563
mwalts
38
Hello EeveyBody, I want to disable my controlbox, I can disable it but all the boxes hide, I do not want that, I want just the minimize and the maximize boxes hide. Thanks for anyhelp.
If you have the form open in Visual Studio form designer, just make MaimizeBox and MinimizeBox properties = false. They are located under Window Style right next to the ControlBox option you seem to have already found. Can be set in code too of course

-mwalts
May 31 '07 #2
Plater
7,872 Expert 4TB
Yea, change the properties and you'll be fine

Ignore below, you had a contradictory statement

-------------------
Out of curiosity why do you want it gone?
The control box hasn't been visible since windows 3.1 era.
You can turn off the icon in the top left corner with the form properties, but ctrl+space will still bring up the menu.

I don't see what you are trying to remove with this?
-------------------
May 31 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Ron James | last post by:
I have a Dialog type form that starts a worker thread, allows the thread to update its progess and provides a Cancel button. Following advice from Chad Meyers in a recent posting, the worker...
3
by: Dan M | last post by:
Hi, Upgraded a 1.0 project to 1.1. Had a form that I opened with ShowDialog. ControlBox set to false at designtime and I set caption in the form load (me.text="my title"). This worked fine in...
13
by: Sylo | last post by:
Hi, I'm french and I don't find the answer at my question. You are my last chance and sorry for my english... I'm in VB .NET 2002 I have a MDI form with the property ControlBox at FALSE. When...
12
by: Flashster | last post by:
I have an exit routine that runs when a users selects 'exit' from a menu or closes the form by clicking on the 'X' in the top right of the form (on the controlbox). One option in the exit...
1
by: Saso Zagoranski | last post by:
Hi, In .NET 2.0 I have a MDI (parent) form with a menu and a toolbar. I also have a MDI child form displayed in the mdi parent form. The problem is, that when I maximize the child form it's...
7
by: Miro | last post by:
I can use the property of the Form to remove the "x" from the top of the form. Is there a way in VB to leave the X there but program something so you cannot close the form? Or like an ONCLOSE...
9
by: mohit.akl | last post by:
Hey guys & gals I am havng trouble modifying the control box. I want to make the maximise button invisible and have minimisise button instead of it. Like this _ X (not like _ o X ) How...
2
by: =?Utf-8?B?TG9zdEluTUQ=?= | last post by:
Hi All, I am trying to determine if the user clicked the "x" close button within the controlbox of the form (top right corner - next to minimize and maximize buttons). I am using the...
0
by: straightEdge | last post by:
First of all, I'm using C# 2.0 with VSTS 2005 on Windows XP SP2. Now, does anyone know of an API call that can add extra buttons to the ControlBox of a form? I've seen plenty of apps that do it. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.