Docking, how to select which one has more priveleges


I'm using two pictureboxes on an MDI Parent.

I want one to be aligned right and one to be aligned on the bottom. (this works)

What I can't do is this :
The one on the bottom always takes the full width of my form, and the one aligned to the right is sized to the height MINUS the height of the one on the bottom.

I want this the other way round.  The one on the right must take the full height, the one on the bottom must be smaller.

How can I do this ??
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Unfortunately, this can not be done.  This is a direct quote from microsoft:

   "If there are two toolbars in a corner of an MDI form, the top- or bottom-aligned one extends to the corner, taking precedence over the left- or right-aligned one. Left- and right-aligned objects occupy the internal area on an MDI form, just like top- and bottom-aligned objects."

Please don't shoot the messanger, I do not have anything to do with microsoft and did not write VB... If I had, things would be alot different ;-)


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vindevogelAuthor Commented:,
Maybe this is why Linux becomes more and more appealing in my eyes.

I grade you a B, a solution would be an A. Hope you don't mind.

Linux is cool...

   OS Style...Unix!

Can't beat that with a stick!

Thanks for the points!

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.