Click to See Complete Forum and Search --> : Q: CSizingBar positioning


June 1st, 1999, 09:31 AM
I'm using CSizingBar to get some cool docking windows,
however I have a small problem positioning my control
bars as I want them, take a look at this screenshot of
my jeMediaBrowser application:
http://www.omtanken.se/valheru/jmb.html

You see the three topmost control bars? To get them like
that I have to manually drag them to those positions,
otherwise they are just placed below one each other.

How can I programmatically put one control next
to another?
Perhaps there is a way I don't know about?

I'd need something like:
a_bar->DockToLeftOf(another_bar) and
a_bar->DockToRightOf(another_bar) etc?

Chris Wheeler
June 1st, 1999, 10:00 AM
Check out the article for Docking Toolbars Side-by-side at:
http://www.codeguru.com/toolbar/demo_toolbar_d.shtml
With a little fiddling, this code will do what you want; although, I haven't yet figured out how to make the windows the size I want. If you figure that out, let me know, please!!

Good luck!

Chris R. Wheeler, MCP
Pensacola Christian College
Desktop Programmer
cwheeler@pcci.edu