SECLNGrid::SECLNGrid

Construction

Defined in: GRID.CPP

Syntax

SECLNGrid()

SECLNGrid(UINT nRows,UINT nCols,UINT nHorzGap,UINT nVertGap,BOOL bIterateColsFirst)

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), ...

See Also

SetGridDimensions