bOk = MTblSetCellMergeEx( hWndCol, nRow, nMergedCols, nMergedRows, nFlags )
Merges a cell with a certain number of neighbouring cells which are right beside the cell
and a certain number of neighbouring rows which are below the cell.
Window Handle: Handle of the column
Number: Row number
Number: Number of neighbouring cells to merge
Number: Number of neighbouring rows to merge
Number: Any combination of the following flags:
Redraws the affected cells
Boolean: TRUE if successful or FALSE if an error occurs
In this example 3 columns and 5 rows are merged with cell hWndCol / row 0:
Call MTblSetCellMergeEx( hWndCol, 0, 3, 5, MTSM_REDRAW )
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.
Created with the Personal Edition of HelpNDoc: What is a Help Authoring tool?