Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / June 2007

Tip: Looking for answers? Try searching our database.

How to add an mdi container within a panel

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bparsons - 15 Jun 2007 17:12 GMT
I have an app where i'm using a split container and within one of the
panels I want to have a MDI container. I created a form, set it's
ismdicontainer property to true, and set it's parent to the panel that
I want it to show up in. Of course I get the exception that I cannot
add a top level window as a parent. So then I set the mdi container's
toplevel property to false, but then I get the exception saying that a
mdi container must be top level ..... now that's the end of the road
for me, i'm throwing my hands up in the air. Is there any way I can
accomplish this? Surely there is.

Thanks in advance!

Brian
Robbe Morris - MVP C# - 16 Jun 2007 19:13 GMT
Try this approach instead.

http://www.eggheadcafe.com/community/aspnet/2/10023543/mdiparent-and-mdiclient-a.aspx

Signature

Robbe Morris
EggHeadCafe.com
http://www.eggheadcafe.com/articles/adonet_source_code_generator.asp

>I have an app where i'm using a split container and within one of the
> panels I want to have a MDI container. I created a form, set it's
[quoted text clipped - 9 lines]
>
> Brian

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.