BCGControlBar Pro for MFC
BOOL CBCGPDiagramVisualObject::GetConnectionPort ( UINT  nConnectionPortID,
CBCGPPoint pt,
BOOL  bTracked = FALSE 
) const

Gets coordinates of the specific connection port.

Parameters
nConnectionPortIDIdentifier for the connection port.
pt[out] The connection port coordinates.
bTrackedSpecifies whether the tracked position is used.
Returns
TRUE if it succeeds, FALSE if the specified connection port doesn't exist.