BOOL CBCGPDiagramConnector::Connect | ( | CBCGPDiagramVisualObject * | pObject1, |
CBCGPDiagramVisualObject * | pObject2, | ||
UINT | ConnectionPortId1 = CP_Center , |
||
UINT | ConnectionPortId2 = CP_Center |
||
) |
Connects two diagram items.
pObject1 | A pointer to the first diagram item. |
pObject2 | A pointer to the second diagram item. |
ConnectionPortId1 | The first diagram item connection port (CBCGPDiagramVisualObject::ConnectionPorts). |
ConnectionPortId2 | The second diagram item connection port (CBCGPDiagramVisualObject::ConnectionPorts). |