Hi ,
I am using a Dynamic Splitter window with 2 Rows and 1 Column . The Parent of the Dynamic Splitter window .
I am fixing the rows of the Dynamic Splitter window
and calling the RecalcLayout() to update the row
information of the Dynamic Splitter window . But
it is always showing the size of the first row in the
dynamic splitter window..
// creating the parent splitter window
// with 1 row and 2 cols
splitter.CreateStatic ( this, 1, 2 ) ;
splitter.SetColumnInfo ( 0, 100,20) ;
splitter.CreateView ( 0, 1, RUNTIME_CLASS ( textview ), CSize ( 0, 0 ), p ) ;
// Creating the dynamic splitter window
splitterdyn.Create ( &splitter, 2, 1, CSize ( 15,15), p ) ;
// Setting the Rowsize of the Dynamic
// splitter window but not working
splitterdyn.SetRowInfo( 0,50, 10);
splitterdyn.SetRowInfo( 1,50, 5);
splitterdyn.RecalcLayout();
An early help will be highly apprecated..
Regards
I am using a Dynamic Splitter window with 2 Rows and 1 Column . The Parent of the Dynamic Splitter window .
I am fixing the rows of the Dynamic Splitter window
and calling the RecalcLayout() to update the row
information of the Dynamic Splitter window . But
it is always showing the size of the first row in the
dynamic splitter window..
// creating the parent splitter window
// with 1 row and 2 cols
splitter.CreateStatic ( this, 1, 2 ) ;
splitter.SetColumnInfo ( 0, 100,20) ;
splitter.CreateView ( 0, 1, RUNTIME_CLASS ( textview ), CSize ( 0, 0 ), p ) ;
// Creating the dynamic splitter window
splitterdyn.Create ( &splitter, 2, 1, CSize ( 15,15), p ) ;
// Setting the Rowsize of the Dynamic
// splitter window but not working
splitterdyn.SetRowInfo( 0,50, 10);
splitterdyn.SetRowInfo( 1,50, 5);
splitterdyn.RecalcLayout();
An early help will be highly apprecated..
Regards