CRectTracker::DrawTrackerRect

virtual void DrawTrackerRect( LPCRECT lpRect, CWnd* pWndClipTo, CDC* pDC, CWnd* pWnd );

Parameters

lpRect

Pointer to the RECT that contains the rectangle to draw.

pWndClipTo

Pointer to the window to use in clipping the rectangle.

pDC

Pointer to the device context on which to draw.

pWnd

Pointer to the window on which the drawing will occur.

Remarks

Called by the framework whenever the position of the tracker has changed while inside the Track or TrackRubberBand member function. The default implementation makes a call to CDC::DrawFocusRect, which draws a dotted rectangle.

Override this function to provide different feedback during the tracking operation.

CRectTracker OverviewClass MembersHierarchy Chart

See Also   CRectTracker::Track, CRectTracker::TrackRubberBand, CDC::DrawFocusRect