CODLinkComponent::OnConnectionMove

BOOLCODLinkComponent::OnConnectionMove(CODConnection*pConnection)

Handles a connection move.

Defined in: OdLinkComp.cpp

Return Value

Boolean indicating if connection is still valid.

Parameters

pConnection

The affected connection.

Comments

This function is called when any of the connections to the link move. This occurs when a dependent symbol is moved. If the property OD_PROP_FOLLOW_CONNECTION is set to TRUE, this function calls  AdjustPoints so that the endpoints of the link remain attached to the dependent port. If OD_PROP_FOLLOW_CONNECTION is FALSE, then the link destroys the connect.