471,321 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,321 software developers and data experts.

MDI Childs in VS2005 Pro?

Hello,
I created a Windows Application Project and tried to create a MDI-based
application. So I created a new MDI-parent with the creation wizzard. Then I
created a default form and tried to make it a MDI-child of the parent I just
created, but I didn't find an entry in the properties dialog which would the
form make a MDI-child.

Can someone explain to me how to add MDI-childs?

greetings

Florian
Feb 13 '06 #1
1 1204
Florian,

This is something you have to do in code in response to an action. You
have to create an instance of your child, and then set the MdiParent
property to the form instance which is the parent. Then, when you call Show
on the child form, it will show as an MDI child.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Stampede" <St******@discussions.microsoft.com> wrote in message
news:2C**********************************@microsof t.com...
Hello,
I created a Windows Application Project and tried to create a MDI-based
application. So I created a new MDI-parent with the creation wizzard. Then
I
created a default form and tried to make it a MDI-child of the parent I
just
created, but I didn't find an entry in the properties dialog which would
the
form make a MDI-child.

Can someone explain to me how to add MDI-childs?

greetings

Florian

Feb 13 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

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.