
I have read about this subject in several forum topics, but still have not found an answer. I have a child form with 5 tool windows on it. The docking manager control used for these tool windows is set to "ToolWindowInnerFill". In the design environment, I lay out the size and location approximately the way I want it (there is one window across the entire top, another window below that and docked to the left, and then three windows below the top window that are on the right:
---------------------------------
|..........window 1................|
|-------------------------------|
|...................|...window 3...|
|...................|---------------|
|...................|...window 4...|
|...window 2...|---------------|
|...................|...window 5...|
|___________|___________|
When my application starts, this child form is loaded into a main MDI Form, and is maximized to fill the client area of the MDI form. Since this changes the size of the child form, my tool windows re-size. I would like to keep the height of "window 1" the same as it is in the design environment, letting "window 2" grow in height, and having "window 3", "window 4", and "window 5" grow in height proportionately. I have experimented with undocking "window 1", settings its "dockedsize" property, and re-docking it; but I can't get this to work.
Any suggestions on what the best way to accomplish this would be? Thanks for any help you can offer.
---------------------------------
|..........window 1................|
|-------------------------------|
|...................|...window 3...|
|...................|---------------|
|...................|...window 4...|
|...window 2...|---------------|
|...................|...window 5...|
|___________|___________|
When my application starts, this child form is loaded into a main MDI Form, and is maximized to fill the client area of the MDI form. Since this changes the size of the child form, my tool windows re-size. I would like to keep the height of "window 1" the same as it is in the design environment, letting "window 2" grow in height, and having "window 3", "window 4", and "window 5" grow in height proportionately. I have experimented with undocking "window 1", settings its "dockedsize" property, and re-docking it; but I can't get this to work.
Any suggestions on what the best way to accomplish this would be? Thanks for any help you can offer.