CODViewport::ControlHandleHitTest

CODComponent* CODViewport::ControlHandleHitTest(CPoint ptHit, int& nHandleIndex)

Checks if one of the control handles of a selected component it at the point.

Defined in: OdViewport.cpp

Return Value

Pointer to the component that owns the handle hit or NULL if no handle found at the given point.

Parameters

ptHit

A point in logical units.

nHandleIndex

Assigned the handle index if a hit occurs.