Splitter control question

  • Thread starter Thread starter Gustaf Liljegren
  • Start date Start date
G

Gustaf Liljegren

I've been following the "Walkthrough: Creating a Multipane User
Interface with Windows Forms" on MSDN (please Google). It creates an
Outlook-like UI. It works great, but there is one thing missing for me.
When I resize the form, I want the left pane to keep its width, while
the two right panes should resize proportionally. When I resize now, the
splitter bar just disappears when I make the form smaller.

Hope there's a solution,

Gustaf
 
Gustaf Liljegren said:
I've been following the "Walkthrough: Creating a Multipane User
Interface with Windows Forms" on MSDN (please Google). It creates an
Outlook-like UI. It works great, but there is one thing missing for me.
When I resize the form, I want the left pane to keep its width, while
the two right panes should resize proportionally. When I resize now, the
splitter bar just disappears when I make the form smaller.

Hope there's a solution,

AFAIK the only solution is to handle SizeChanged event of the parent form
and to resize right-hand size panes manually.

Regards,

Julijan
 
Back
Top