CODController::SelectComponent

voidCODController::SelectComponent(CODComponent *pCompSel, BOOL bSelect = TRUE, BOOL bDeselectOthers = FALSE)

Used to select and deselect a single component in the diagram based on a boolean parameter.
This method also has the option of deselecting all other components in the diagram or adding a new component to the existing selection.

Members

bSelect
When TRUE, the component is selected. Otherwise, the component is deselected.

bDeselectOthers
When TRUE, all other selected components are deselected. Otherwise, a new component is added to the existing selection.

Defined in: OdController.cpp

Return Value

BOOL