CRectTracker::HitTest
Call this function to find out whether the user has grabbed a resize handle.
int HitTest(
CPoint point
) const;
Parameters
- point
The point, in device coordinates, to test.
Return Value
The value returned is based on the enumerated type CRectTracker::TrackerHit and can have one of the following values:
CRectTracker::hitNothing –1
CRectTracker::hitTopLeft 0
CRectTracker::hitTopRight 1
CRectTracker::hitBottomRight 2
CRectTracker::hitBottomLeft 3
CRectTracker::hitTop 4
CRectTracker::hitRight 5
CRectTracker::hitBottom 6
CRectTracker::hitLeft 7
CRectTracker::hitMiddle 8
Requirements
Header: afxext.h