BCGControlBar Pro for MFC
BOOL CBCGPGridCtrl::MoveRow ( int  nPos,
int  nOffset,
BOOL  bInsideHierarchyGroup = FALSE 
)

Moves a grid row to a new position.

Parameters
nPosZero-based row index.
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.