Splitter docked right, but how to maintain right-side control?

  • Thread starter Thread starter Bob (remove 'excise-' to reply)
  • Start date Start date
B

Bob (remove 'excise-' to reply)

I've got a form with three controls: a left-docked richtextbox, a
right-docked form, and a right-docked listview.

When I resize the form, the listview increases and decreases, the
splitter remaining at the same spot. How can I maintain the size of the
right-side listview when resizing the parent form? (Have the splitter
move in relationship to the right-edge of the form.)

I have to do this programmatically, no VS IDE to work with.

Thanks
 
Bob (remove 'excise-' to reply) said:
I've got a form with three controls: a left-docked richtextbox, a
right-docked form, and a right-docked listview.

When I resize the form, the listview increases and decreases, the
splitter remaining at the same spot. How can I maintain the size of the
right-side listview when resizing the parent form? (Have the splitter
move in relationship to the right-edge of the form.)

I have to do this programmatically, no VS IDE to work with.

Splitter has a MinSize property

"Gets or sets the minimum distance that must remain between the splitter
control and the container edge that the control is docked to."

I think MinExtra sets the minimum on the other side.

HTH
 
Back
Top