Ralf Mekle
May 20th, 1999, 11:19 AM
Hi,
How can I set the sizes of the single panes in a static splitter window
that is a SplitChildFrame? I need to adjust the pane size to the size of
the image that is displayed in the pane.
I tried to set default sizes during the creation process of
m_wndSplitter.CreateView, but neither the height of the row nor the
width of the second pane is properly adjusted (it doesn't change). I also
used SetRowInfo, SetColumnInfo together with RecalcLayout, but, again,
nothing happens. DO I have to place the code at a particular location?
Thanks,
- Ralf
How can I set the sizes of the single panes in a static splitter window
that is a SplitChildFrame? I need to adjust the pane size to the size of
the image that is displayed in the pane.
I tried to set default sizes during the creation process of
m_wndSplitter.CreateView, but neither the height of the row nor the
width of the second pane is properly adjusted (it doesn't change). I also
used SetRowInfo, SetColumnInfo together with RecalcLayout, but, again,
nothing happens. DO I have to place the code at a particular location?
Thanks,
- Ralf