I'll try it out on Monday. Thank you for responding.
Main Topics
Browse All TopicsI am just starting to use VS2005 and some of its new controls. I have created a form with splitcontainer, menustrip, toolstrip, and statusstrip controls. I have set the splitcontainer.dock property to Fill. Unfortunately the splitcontainer is underlying the other docked controls instead of just filling in the space between. As a test I created a new form and added the strip controls before adding the splitcontainer and it lays out as expected with the splitcontainer filling in the space between the strips instead of underlying them and filling in the entire window. I could probably solve my problem by deleting my splitcontainer and adding a new one but there has to be another way to solve this. I don't see anything obvious to change in the designer file.
Has anyone run into this before?
BriCrowe
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: bchoorPosted on 2006-03-12 at 13:56:05ID: 16169422
Yes, for that I just look at the lines in the designer
) iner1)
iner1) )
Me.Controls.Add(.....) and switch the order around
so if you have
me.Controls.Add(ToolStrip1
me.Controls.Add(SplitConta
--> Split Container will dock-fill and cover tool strip 1
so you will need to change order around to
me.Controls.Add(SplitConta
me.Controls.Add(ToolStrip1
==> to me it's kind of counter-intuitive that the last line gets the preference, but that's what I was able to get working
HTH
~BC