BCGSuite for MFC
const CBCGPGridItemID CBCGPGridMergedCells::GetMainItemID ( ) const

Returns ID of main item in the range of merged cells.