469,286 Members | 2,521 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,286 developers. It's quick & easy.

Horizontal splitter?

I am designing a GUI and I need to split the screen into two parts (one
on top of the other) - i.e. I need a "horizontal" splitter. The splitter
control that comes out of the box with VC71 appears to cater for only
vertical splitting (i.e. screens side by side). Anyone knows how I may
split a screen into two resizable parts - one on top of the other?

Dec 12 '05 #1
4 22819
I depends on the Dock property of the splitter. If the splitter is docked
top or bottom it appears horizontal if it is docked left or right -
vertical.

Chage the docking style.

See my post in the following thread for info on how the splitter works.
--
HTH
Stoitcho Goutsev (100) [C# MVP]

"Susan Baker" <sb****@no.spam.net> wrote in message
news:dn**********@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com...
I am designing a GUI and I need to split the screen into two parts (one on
top of the other) - i.e. I need a "horizontal" splitter. The splitter
control that comes out of the box with VC71 appears to cater for only
vertical splitting (i.e. screens side by side). Anyone knows how I may
split a screen into two resizable parts - one on top of the other?

Dec 12 '05 #2
As long as you dock top/bottom, it should orientate itself without you
needing to do anything.

Marc

"Susan Baker" <sb****@no.spam.net> wrote in message
news:dn**********@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com...
I am designing a GUI and I need to split the screen into two parts (one on
top of the other) - i.e. I need a "horizontal" splitter. The splitter
control that comes out of the box with VC71 appears to cater for only
vertical splitting (i.e. screens side by side). Anyone knows how I may
split a screen into two resizable parts - one on top of the other?

Dec 12 '05 #3
Hi Susan

The solution I can provide you is unfortunatly only a cold comfort:
In Visual Studio 2005 there is a Split-Container-Control where you
could set the 'orientation' property to 'horizontal'.

I tried out the older version of VS-Studio, but I didn't find any
visual and handy solution.
I would suggest to use a tab control and to distribute your controls on
the tabs.

You can of course try to program the functionality yourself - but I
guess it's not exactly what you want.
Another way would be to search for a third party control on the net.

Hope this helps
Roland

Dec 12 '05 #4
Hi Susan

The solution I can provide you is unfortunatly only a cold comfort:
In Visual Studio 2005 there is a Split-Container-Control where you
could set the 'orientation' property to 'horizontal'.

I tried out the older version of VS-Studio, but I didn't find any
visual and handy solution.
I would suggest to use a tab control and to distribute your controls on
the tabs.

You can of course try to program the functionality yourself - but I
guess it's not exactly what you want.
Another way would be to search for a third party control on the net.

Hope this helps
Roland

Dec 12 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by John | last post: by
3 posts views Thread by Andre Loker | last post: by
1 post views Thread by Krish | last post: by
3 posts views Thread by MFRASER | last post: by
reply views Thread by Atara | last post: by
2 posts views Thread by Istvan | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.