473,394 Members | 1,541 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,394 software developers and data experts.

hide mdi child form frame boarder, minimize and maximize buttons

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.

Also, when the parent form's FormBoarderStyle is set to nothing, then the
child form is maximized, I get the minimize and maximize buttons at the top
of the parent from even though the boarder style is set to none for both
forms. How do I prevent this? How do I disable the minimize and maximize
buttons of the child form?

thanks
Paul
Nov 20 '05 #1
3 8364
"Paul Welter" <lo******@msdn.nospam.com> schrieb
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.

Also, when the parent form's FormBoarderStyle is set to nothing, then
the child form is maximized, I get the minimize and maximize buttons
at the top of the parent from even though the boarder style is set to
none for both forms. How do I prevent this? How do I disable the
minimize and maximize buttons of the child form?


MDI child windows always have a sizable border, a max and min button and a
controlbox. Otherwise they weren't MDI child windows.
--
Armin

http://www.plig.net/nnq/nquote.html

Nov 20 '05 #2
Hi,
Set the following properties to Child Form for ur
requirement.

Me.FormBorderStyle =
System.Windows.Forms.FormBorderStyle.None
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.ControlBox = False
Me.WindowState =
System.Windows.Forms.FormWindowState.Maximized

Regards,
Amal
-----Original Message-----
I'm building a MDI application that has child forms. I'm trying to find away to hide the inner boarder of the child frame area. Setting theFormBoarderStyle of the child form has no effect.

Also, when the parent form's FormBoarderStyle is set to nothing, then thechild form is maximized, I get the minimize and maximize buttons at the topof the parent from even though the boarder style is set to none for bothforms. How do I prevent this? How do I disable the minimize and maximizebuttons of the child form?

thanks
Paul
.

Nov 20 '05 #3
Hi Paul,

Thanks for you posting in the group!

Do you have tried Amal's solution yet?
I think it is just what you want except for the System.Windows.Forms
redundancy.

If you have more concerns on this topic, please feel free to reply this
message.
Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

Nov 20 '05 #4

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

Similar topics

0
by: Manoj | last post by:
Hi All, We have an VB.net application which has 31 projects in one solution.In this we want to disable the Maximize and minimize buttons of the child forms as they load in the main MDI.We have...
0
by: Lyn | last post by:
This one is driving me crazy. I have a table which stores pictures in an OLE Object column, one per record with a few other text fields (caption, date, etc). This table is maintained with a...
1
by: Lauren Quantrell | last post by:
I use the code below to hide the MS Access Close button and the minimize and maximize buttons. What I want to do is to hide the close button but not the min/max buttons. Is this possible? ...
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...
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...
4
by: Daniel R. Rossnagel | last post by:
As I can hide the bar of I title of a window daughter maximized within form MDI Already I have proven with different types from borders, hiding thebuttons to maximize, to diminish and control box,...
2
by: jj | last post by:
I have a single threaded application in c# that scans through a file system. While doing this if I try to minimize, maximize buttons on the top,right hand corner of my form do not do as they are...
4
by: psbasha | last post by:
I would like to create a Parent and Child Dialog in Tkinter. Parent Dialog will be having have the Combo Box with Geometry Selection Parent Dialog : ------------------- - Point - Line -...
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.