BCGSuite for MFC
void CBCGPGridCtrl::MergeRange ( const CBCGPGridRange range,
BOOL  bRedraw = TRUE 
)

Merges cells within the specified range.

Call this function to merge cells within the specified range.

The function does nothing if the current selection range partially covers other merged cells.

Parameters
rangeSpecifies the range to use for merge operation.
bRedrawIf TRUE, the grid will be redrawn when the merge operation completes.