Carbon


IndicatorDragConstraint

Header: Controls.h

struct IndicatorDragConstraint {
    Rect limitRect; 
    Rect slopRect; 
    DragConstraint axis;
};
typedef IndicatorDragConstraint IndicatorDragConstraintPtr;

Field descriptions

limitRect

A pointer to a rectangle—whose coordinates should normally coincide with or be contained in the window’s content region—delimiting the area in which the user can drag the control’s outline.

slopRect

A pointer to a rectangle that allows some extra space for the user to move the mouse while still constraining the control within the rectangle specified in the limitRect parameter.

axis

The axis along which the user may drag the control’s outline; see “Part Identifier Constants”.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)