Delen via


CRectTracker::CRectTracker

Creates and initializes a CRectTracker object.

CRectTracker( ); 
CRectTracker( 
   LPCRECT lpSrcRect, 
   UINT nStyle  
);

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

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.

Requirements

Header: afxext.h

See Also

Reference

CRectTracker Class

Hierarchy Chart

CRect::CRect