Udostępnij za pośrednictwem


CRectTracker::OnChangedRect

Called by the framework whenever the tracker rectangle has changed during a call to Track.

virtual void OnChangedRect(
   const CRect& rectOld 
);

Parameters

  • rectOld
    Contains the old device coordinates of the CRectTracker object.

Remarks

At the time this function is called, all feedback drawn with DrawTrackerRect has been removed. The default implementation of this function does nothing.

Override this function when you want to perform any actions after the rectangle has been resized.

Requirements

Header: afxext.h

See Also

Reference

CRectTracker Class

Hierarchy Chart

CRectTracker::AdjustRect

CRectTracker::Track

CRectTracker::TrackRubberBand

Other Resources

CRectTracker Members