CODModel::FindValidMove

BOOL CODModel::FindValidMove(CODComponentSet& setComponents, int& nMoveX, int & nMoveY, LPRECT lprcComps)

Finds a valid offset for a set of components.

Defined in: OdModel.cpp

Return Value

TRUE if a valid move location was found.

Parameters

setComponents

The set of components to move.

nMoveX

The horizontal offset.

nMoveY

The vertical offset.

lprcComps

The bounding rectangle of the components.