S
Siegfried Heintze
I have a dialog style application that uses DirectX to play DVD movies.
In the center of the form is the main panel where DirectX displays the
movie. Around the edges are various list controls, checkboxes and buttons.
When the window is resized, I only want the main panel to resize and
everything else to stay as stationary as possible. In the case of vertical
resizing (expansion), I would like the controls on each side of the main
panel to expand proportionately. However, I want the buttons on the bottom
to stay the same giving all the new room to the main panel.
I could override the OnResize and write the logic to reposition all the
controls. Uggghhh... Does .NET 2005 have anything like a java gridbaglayout
manager? I know .NET 2003 could resize a dialog box and allowed you to
specify how it would resize. But this did not give me enough control and I
experienced very ugly results. Is 2005 more sophisticated in this way?
Thanks,
Siegfried
In the center of the form is the main panel where DirectX displays the
movie. Around the edges are various list controls, checkboxes and buttons.
When the window is resized, I only want the main panel to resize and
everything else to stay as stationary as possible. In the case of vertical
resizing (expansion), I would like the controls on each side of the main
panel to expand proportionately. However, I want the buttons on the bottom
to stay the same giving all the new room to the main panel.
I could override the OnResize and write the logic to reposition all the
controls. Uggghhh... Does .NET 2005 have anything like a java gridbaglayout
manager? I know .NET 2003 could resize a dialog box and allowed you to
specify how it would resize. But this did not give me enough control and I
experienced very ugly results. Is 2005 more sophisticated in this way?
Thanks,
Siegfried