bOk = MTblSetCellMerge( hWndCol, nRow, nMergeCount, nFlags )
Depreciated, please use MTblSetCellMergeEx instead.
Merges a cell with a certain number of neighboring cells which are right beside the cell.
Window Handle: Handle of the column
Number: Row number
Number: Number of neighboring cells 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 are merged with cell hWndCol / row 0:
Call MTblSetCellMerge( hWndCol, 0, 3, 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: Create HTML Help, DOC, PDF and print manuals from 1 single source