BCGControlBar Pro for MFC
CBCGPGridRow* CBCGPGridCtrl::MoveRow ( CBCGPGridRow pRow,
int  nOffset,
BOOL  bInsideHierarchyGroup = FALSE 

Moves a grid row to a new position.

pRowPoints to the row to be moved.
nOffsetSpecifies an offset from which a grid row needs to be moved: if this value is negative, the row will be moved up; otherwise – down.
bInsideHierarchyGroupTells whether the row can be moved inside the cuurent hierarchy level only.