BCGSuite for MFC
void CBCGPGanttItem::SetPrimaryColor ( COLORREF  clr)

Sets the "primary" color of a task item.

Use this function to set the "primary" color of an item.

An item is filled by two colors - the "primary color" and "complete" color. The "primary" color fills the whole item. The "complete" color fills an item from the right to left according to the completeness percent.

CLR_DEFAULT means that the owner chart determines the color.

Parameters
clrSpecifies a "primary" color.