Hi,
I am trying to create simple dynamic splitter window
with 2 Rows and 1 Cols in the Frames ClasseLs OnCrateClient() function . I am fixing the sizes if the two rows and
calling the RecalcLayout() function to fix the sizes .
But its not working and its always showing the first row as zero size and i have to drag the scroll bar to make
it visible ..How do i initiaize hights of both the rows at start up ...
The Code i am using is
splitterdyn.Create (this, 2, 1, CSize ( 115,115),
p ) ;
// Get the hight of the window
CRect rect;
GetClientRect( &rect );
// Initialize the row hights
splitterdyn.SetRowInfo( 0,rect.Height()/2, 5);
splitterdyn.SetRowInfo( 1,rect.Height()/2, 5);
splitterdyn.RecalcLayout();
Please help me..
Regards
I am trying to create simple dynamic splitter window
with 2 Rows and 1 Cols in the Frames ClasseLs OnCrateClient() function . I am fixing the sizes if the two rows and
calling the RecalcLayout() function to fix the sizes .
But its not working and its always showing the first row as zero size and i have to drag the scroll bar to make
it visible ..How do i initiaize hights of both the rows at start up ...
The Code i am using is
splitterdyn.Create (this, 2, 1, CSize ( 115,115),
p ) ;
// Get the hight of the window
CRect rect;
GetClientRect( &rect );
// Initialize the row hights
splitterdyn.SetRowInfo( 0,rect.Height()/2, 5);
splitterdyn.SetRowInfo( 1,rect.Height()/2, 5);
splitterdyn.RecalcLayout();
Please help me..
Regards