CODViewport::ComponentHitTest

CODComponent* CODViewport::ComponentHitTest(CPoint ptHit)

Returns a pointer to the topmost component that contains the point, or NULL if there is no component at the point.

Defined in: OdViewport.cpp

Return Value

Pointer to the component that contains the point or NULL if no components found at the point.

Parameters

ptHit

A point in logical units.