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

MdiClient

Is there a way to place controls on the surface of MdiClient and have it
always stay in the background when new child forms are loaded into the MDI?
When I place controls on the surface of an MDI app and load child forms, the
controls place on the surface poke through the child form.

In the MDI paradigm, is it not wise/proper to use the MdiClient as a
controls surface?

--
Thanks, John F
Mar 1 '06 #1
1 2766
John,

The answer is NO.

When you set up a form to be a MDI container the frame work creates a
control of type MDIClinet (undocumented class meant to be used internaly
according to MSDN) that hosts all MDI children.

All other controls that you add to the form will be siblings of this control
wither over the MDIClient and all its children (MDI child forms) or under
(if it is possible to move it there) the MDIClient, thus covered and
invisible.

The only way if it was possible( but it is not) was if you could add that
control as a child of the MDIClient control, but the MDIClient control
checks all the controls added to the Controls collection to be MDI child
forms and throws exception otherwise.
--
HTH
Stoitcho Goutsev (100)

"John F" <jf@rt.com> wrote in message
news:28**********************************@microsof t.com...
Is there a way to place controls on the surface of MdiClient and have it
always stay in the background when new child forms are loaded into the
MDI?
When I place controls on the surface of an MDI app and load child forms,
the
controls place on the surface poke through the child form.

In the MDI paradigm, is it not wise/proper to use the MdiClient as a
controls surface?

--
Thanks, John F

Mar 1 '06 #2

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

Similar topics

2
by: Brian Tkatch | last post by:
Not sure if this is the way it's supposed to be, but after a Layout event on an MDI form, the form's new width is set, but the MDIClient's width is not. As an example, start a new Windows...
0
by: gilbert | last post by:
Hello. I am using .Net 2.0, C#. and am trying to put a MdiClient control into a SplitPanel of a SplitContainer. First, I put a SplitContainer called splitContainer1 into the form. In the...
6
by: =?Utf-8?B?bGpsZXZlbmQy?= | last post by:
Is there any way to change or turn off the border of an Windows.Forms.MdiClient control? In my opinion the 3D bevel that the control uses is outdated and looks poor in my app. The best would be a...
8
by: Phil | last post by:
Is it possible to find the size of the MDIClient area, excluding the space already used by docked controls? I have thought I could perhaps create a new control, set it's Dock property to Fill and...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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...

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.