| CBCGPGanttConnection* CBCGPGanttChart::AddConnection | ( | CBCGPGanttItem * | pSourceItem, |
| CBCGPGanttItem * | pDestItem, | ||
| int | linkType | ||
| ) |
Adds a new connection between two items.
Use this function to add a connection between two items.
The link type flag specifies how the items are connected. It can be one of the following predefined value:
| pSourceItem | A pointer to a source item. |
| pDestItem | A pointer to a destination item. |
| linkType | Specifies the link type. |