ISplitter::SetGridDimensions method

Defines the dimensions of the splitter grid, so sucessive calls to ILayoutNode::AddLayoutNode can distribute the new nodes in rows and columns.

Defined in: SplitterLayout.h

Parameters

nRows

Number of rows the grid should have.

nCols

Number of columns the grid should have.

Comments

SetGridDimensions does not actually expands or contracts the splitter grid. It rather sets the maximum number of columns and rows the splitter will accept.

Syntax

pSplitter-&gtSetGridDimensions(nRows, nCols);