BCGControlBar Pro for MFC
void CBCGPGanttItem::SetHierarchyLevel ( DWORD  dwLevel)

Sets the hierarchy level of grouped item

Use this function to set the hierarchy level of a grouped item. The hierarchy level should be 1 or greater. You must call SetGroupItem (TRUE) for an item that is intended to be the root of the group.