bOk = MTblSetCellMerge( hWndCol, nRow, nMergeCount, nFlags )

Deprecated, please use MTblSetCellMergeEx instead.

Merges a cell with a certain number of neighboring cells which are right beside the cell.

Parameters
hWndCol
Window Handle: Handle of the column

nRow
Number: Row number

nMergeCount
Number: Number of neighboring cells to merge

nFlags
Number: Any combination of the following flags:

MTSM_REDRAW

Redraws the affected cells

Return
Boolean: TRUE if successful or FALSE if an error occurs

Example
In this example 3 columns are merged with cell hWndCol / row 0:

Call MTblSetCellMerge( hWndCol, 0, 3, MTSM_REDRAW )

Remarks
As long as a merge cell is disabled, either because the column, the row or the cell is disabled, the merged cells are disabled, too.

See also
Cell merging
Row merging

Created with the Personal Edition of HelpNDoc: Produce online help for Qt applications