473,399 Members | 2,278 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,399 software developers and data experts.

Solution - MDI Child - Hide Controlbox, Minimize/Maximize


Dear Group

After browsing through posts and a great headache I finally found a
solution to an often asked question. Not claiming I invented it (LOL)
but posting for future reference,

HTH, M

Put this in your childs Form_Load Event

Me.WindowState = FormWindowState.Maximized
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.ControlBox = False

Should do the trick :-)

Nov 21 '05 #1
0 1391

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Joe | last post by:
Hello, I have an application in which a few mdi child forms are inside of an mdi parent. My problem arises when you minimize these forms. I want them to be hidden when minimized and not docked...
4
by: Bernie Yaeger | last post by:
I'm opening an mdi child form maximized. I've set the controlbox to false, the maximize button to false, the minimize button to false. Nevertheless, when the child form opens, it has a minimize,...
9
by: Jason | last post by:
I have one MDI Child form for a MDI Parent form. I want the MDI Child form to not have a control box for minimizing and and closing the form. I set the control box property of the child to...
3
by: Paul Welter | last post by:
I'm building a MDI application that has child forms. I'm trying to find a way to hide the inner boarder of the child frame area. Setting the FormBoarderStyle of the child form has no effect. ...
0
by: Bill | last post by:
Hi I have a parent child forms. I want the close, maximize, and minimize buttons to be removed. One the child form I have set the maximize and minimize buttons to false. I have the child form...
0
by: Olivier Bonneau | last post by:
Hello, I have a MDI application. when I have a few MDI children open, and then close one of them, the ControlBox for the MDI children becomes duplicated, right next to one another in the far...
2
by: Joe Cool | last post by:
You know how when you minimize an application, and you then right click on the application's task bar icon, a popup menu appears that has by default the items Restore, Move, Size, Minimize,...
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...
1
by: =?Utf-8?B?UmFmYWVsIFNvdGVsZG8=?= | last post by:
Hi there: Is there a way to hide the maximize box, but keeping minimize and close box. When I set the property ControlBox to false, all three boxes desapear. -- Rafael Soteldo
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.