• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 129
  • Last Modified:

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 ??
  • 2
1 Solution
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 ;-)

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!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now