Data Members
| m_nHandleSize | Determines size of resize handles. |
| m_rect | Current position (in pixels) of the rectangle. |
| m_sizeMin | Determines minimum rectangle width and height. |
| m_nStyle | Current style(s) of the tracker. |
Construction
| CRectTracker | Constructs a CRectTracker object. |
Operations
| Draw | Renders the rectangle. |
| GetTrueRect | Returns width and height of rectangle, including resize handles. |
| HitTest | Returns the current position of the cursor related to the CRectTracker object. |
| NormalizeHit | Normalizes a hit-test code. |
| SetCursor | Sets the cursor, depending on its position over the rectangle. |
| Track | Allows the user to manipulate the rectangle. |
| TrackRubberBand | Allows the user to “rubber-band” the selection. |
Overridables
| AdjustRect | Called when the rectangle is resized. |
| DrawTrackerRect | Called when drawing the border of a CRectTracker object. |
| OnChangedRect | Called when the rectangle has been resized or moved. |
| GetHandleMask | Called to get the mask of a CRectTracker item’s resize handles. |