BCGSuite for MFC
void CBCGPGanttChart::SelectItem ( CBCGPGanttItem pItem,
UINT  nKeys,
BOOL  bStartDrag = TRUE 
)

Selects an item.

Parameters
pItemA pointer to item.
nKeysA combination of MK_CONTROL, MK_SHIFT etc.
bStartDragSpecifies whether item will be dragged immediately after selection.