BCGControlBar Pro for MFC
CBCGPGanttConnection* CBCGPGanttChart::FindConnection ( const CBCGPGanttItem pSourceItem,
const CBCGPGanttItem pDestItem 
)

Finds an object that describes connection between two specified items.

Returns
NULL if connection is not found; a pointer to a CBCGPGanttConnection object if a connection is found.

This function is used to find a connection between two items.

Parameters
pSourceItemA pointer to a source item.
pDestItemA pointer to a destination item.