473,624 Members | 1,993 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Having an MDI Container Form within another MDI Container

I have a "global" MDI which will contain everything in the application.
Since the application itslef will include three different "environmen ts"
with their own child Forms, I was wondering if I could load any of these MDI
containers (or environments) so that their parent is the global MDI form.
Basically it's like having three different applications opening inside my
main MDI form.

Thanks.
Jul 3 '07 #1
4 8035
Hi Doc,

I am sorry to say that we couldn't have an MDI container within another MDI
container. If we do that, we will get an error stating 'Form cannot be both
an MDI child and MDI parent.'.
Basically it's like having three different applications opening inside my
main MDI form.

What do you mean by the 'different applications'? Are they executable
programs? I don't think we could have an executable program opening inside
an MDI container of another program.

Could you please explain more about what you really want? Maybe there's a
workaround to it.

Sincerely,
Linda Liu
Microsoft Online Community Support

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 4 '07 #2
I'm not referring to three different executables; I'm talking about three
different "containers " opening up inside the "master" container.
"Linda Liu [MSFT]" <v-****@online.mic rosoft.comwrote in message
news:yE******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi Doc,

I am sorry to say that we couldn't have an MDI container within another
MDI
container. If we do that, we will get an error stating 'Form cannot be
both
an MDI child and MDI parent.'.
>Basically it's like having three different applications opening inside my
main MDI form.

What do you mean by the 'different applications'? Are they executable
programs? I don't think we could have an executable program opening inside
an MDI container of another program.

Could you please explain more about what you really want? Maybe there's a
workaround to it.

Sincerely,
Linda Liu
Microsoft Online Community Support

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no
rights.

Jul 5 '07 #3
Hi Doc,

Thank you for your reply.
I'm talking about three different "containers " opening up inside the
"master" container.

Based on my understanding, both the three different "containers " and the
"master" container you have mentioned are forms.

I suggest that you set the "master" form as the MDI parent. Change the
three different "containers " forms to be normal forms ( I mean non MDI
parent), if they were.

You may place a Panel on the "container" form and create a UserControl for
each child form that are shown in the "container" form. Show the
UserControl in the Panel within the "container" form instead of showing the
child form.

Hope this helps.
If my suggestion is not appropriate to your practice, please feel free to
let me know.

Sincerely,
Linda Liu
Microsoft Online Community Support

Jul 6 '07 #4
Hi Doc,

How about the problem now?

If you still need our further assistance, please feel free to let me know.

Thank you using our MSDN Managed Newsgroup Support Service!

Sincerely,
Linda Liu
Microsoft Online Community Support.

Jul 10 '07 #5

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

Similar topics

0
5553
by: Captain | last post by:
How do you junit test a container managed security (2.3. Servlet) environment within Tomcat 4.1.x using JUnit?? I.e. form based authentication. I had expected the following to work... but alas no: response.sendRedirect(response.encodeRedirectURL("/struts/j_security_check?j _username=myuser&j_password=mypass&j_target_url=/struts/secure/admin.jsp")); Where:
3
2624
by: jignesh shah | last post by:
Hi all, Is there a way to recover a single container if its been corrupted or mark bad without restoring whole tablespace? environment: db28.1/aix5.1/tsm/rs-6000. Regards Jignesh
1
4195
by: Carlos Lozano | last post by:
Hi, The default behavior for Modal forms does not restrict it to go out of the client area of the main MDI container form. I would like to show a modal form and keep it within the application container form as any other non-modal MDI form. I am not able to assign the MDIParent as it give an exception. I will appreciate any suggestions.
4
4930
by: Mitchel Haas | last post by:
Hello, Feeling a need for a generic tree container to supplement the available containers in the STL, I've created a generic tree container library (TCL). The library usage is very much like the containers in the STL, including iterator usage. Info on the library can be found here.. http://www.visuallandlord.com/developers_corner/open_source/tree_container_library/overview.php The library and sample code can be downloaded from this...
2
3541
by: mikepolitowski | last post by:
Hi folks, I am have been trying to solve this problem for quite some time now and would appreciate any advice. I have been trying to call a code-behind function that is defined in my aspx.cs from within a DataList <ItemTemplate> block using the <%# %> syntax. I would not have written here if I had not spent over 6 hours trying to find a solution to this problem again any advice is greatly appreciated. I have included a code snippet...
4
629
by: rn5a | last post by:
When I do this: <asp:DataList ID="dlProducts" runat="server"> <HeaderTemplate> <table border="0"> <tr> <td>Category</td> <td><%# Container.DataItem("Category") %></td> </tr> </table>
6
3225
by: Greg | last post by:
Is there a simple way to test if a control is a container type control (e.g. groupbox, panel etc) I realise that all container controls have to by definition, have the System.ComponentModel.DesignerAttribute. If there is an easy way to query whether a control has this attribute, this may well be the way forward. I'm not sure how to do this. Or is there a different way?
4
4467
by: Joseph Geretz | last post by:
Don't get me wrong - I'm a fan of .NET; I am enthusiastic about the richness and elegance of the environment. However, richness and elegance should be dedicated toward making development easier for developers, not more difficult. In many ways this goal is achieved. However, I've run up against one particular area of development, where what should be a trivial excercise is turning out to be much more difficult than it should be. I'm trying...
2
2187
by: Jay Dee | last post by:
I have created a container that will position 4 panels that has 15 different layouts to choose from. I have based it similar to a System.Windows.Forms.SplitContainer but that has 4 panels instead of 2. It douse not have the ability on fixing the splitter like the SplitContainer class has, each splitter is based on a parentage of the container. For what I wanted it for it did not need that capability so I wasn’t too bothered.
0
8236
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8679
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8621
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8475
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6110
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5563
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4079
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2606
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1482
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.