Share via


CRectTracker::CRectTracker

CRectTracker();

CRectTracker(LPCRECTlpSrcRect**,UINTnStyle);**

Parameters

lpSrcRect

The coordinates of the rectangle object.

nStyle

Specifies the style of the CRectTracker object. The following styles are supported:

  • CRectTracker::solidLine   Use a solid line for the rectangle border.

  • CRectTracker::dottedLine   Use a dotted line for the rectangle border.

  • CRectTracker::hatchedBorder   Use a hatched pattern for the rectangle border.

  • CRectTracker::resizeInside   Resize handles located inside the rectangle.

  • CRectTracker::resizeOutside   Resize handles located outside the rectangle.

  • CRectTracker::hatchInside   Hatched pattern covers the entire rectangle.

Remarks

Creates and initializes a CRectTracker object.

The default constructor initializes the CRectTracker object with the values from lpSrcRect and initializes other sizes to system defaults. If the object is created with no parameters, the m_rect and m_nStyle data members are uninitialized.

CRectTracker OverviewClass MembersHierarchy Chart

See Also   CRect::CRect