CODModel::FindValidLocation

BOOLCODModel::FindValidLocation(CODComponentSet&setComponents, int&nLocX, int &nLocY, LPRECTlprcComps)

Finds a valid location in the model to place the components.

Defined in: OdModel.cpp

Return Value

TRUE if a valid location was found.

Parameters

setComponents

The set of components to place.

nLocX

The horizontal location to place the components.

nLocY

The vertical location to place the components.

lprcComps

The bounding rectangle of the component set.