SECLNGrid::SetGridDimensions
voidSECLNGrid::SetGridDimensions(UINTnRows, UINTnCols, UINTnHorzGap, UINTnVertGap, BOOLbIterateColsFirst)
Format the grid dimensions
Defined in: GRID.CPP
Return Value
void
Parameters
nRows
number of rows in grid, or zero to grow vertically
nCols
number of columns in grid, or zero to grow horizontally
nHorzGap
gap in pixels between adjacent columns across the horizontal axis
nVertGap
gap in pixels between adjacent rows across the vertical axis
bIterateColsFirst
If true, new nodes are added across columns first, then rows
Comments
Note 1: nRows and nCols can not BOTH be zero!
Note 2: bIterateColsFirst determines the insertion order used for AddLayoutNode calls. If true, nodes are inserted across columns, like (0,0), (0,1), ... (0,n), (1,0), (1,1), ... If false, rows are inserted first as such: (0,0), (1,0), ... (n,0), (0,1), (1,1), ...