hiya,
I have the above.
When i run the following code(within the mdiForm) , the childForm does not appear.
Form childForm = new frmCustomer(); childForm.MdiParent = this; childForm.Visible = true; childForm.Show(); |
the actual MdiForm contains a whidbey splitPanel control.
Hmm, is there something that I am missing I have put controls on the childFor so that I can see if it has displayed..no joy.
Can anyone help
cheers,
yogi

whidbey mdi winform
Bayeux
that's the go :-)
I also took the opportunity to grab your "dropShadowForm" from your blog
cheers,
yogi
Anup Jayapal Rao
You are of course correct.
I think I'd be quicker to say "what i want to achieve" rather than "what went wrong when I tried to achieve it"
I'd like an MDI winform that contains a treeView in the left-hand-side.
This treeview should be contained within a splitPanel control.
When the treeview is clicked, the correct "childForm" is displayed on the right hand side (within the MDIForm)
Is this possible I don't know too much about the whidbey forms' painting process, but I'd have thought that this is reasonable functionality to look for.
maybe I am missing the point,
Can this be done
cheers,
yogi
Quickywd01
Yogi,
You can achieve this by doing the following:
1. Create a blank form, change IsMdiContainer to true.
2. Drag a TreeView onto the Form and change Dock to Left
3. Right-click on the Toolbox and select Choose Items...
4. Scroll down until you see Splitter, ensure that it is checked and click OK
5. Drag a Splitter onto the Form, it should automatically dock to the TreeView
You now have a resizable TreeView, with a gap to the right that you can display your MDI children.
HTH
David
Don Miller Jr
So most likely your SplitContainer is being displayed in front of child form.