CRectTracker::DrawTrackerRect

Called by the framework whenever the position of the tracker has changed while inside the Track or TrackRubberBand member function.

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

Параметры

  • 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.

Заметки

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.

Требования

Header: afxext.h

См. также

Основные понятия

CRectTracker Class

CRectTracker Members

Hierarchy Chart

CRectTracker::Track

CRectTracker::TrackRubberBand

CDC::DrawFocusRect