Carbon


ControlEditTextSelectionRec

Header: ControlDefinitions.h

struct ControlEditTextSelectionRec {
    SInt16 selStart; 
    SInt16 selEnd;
};
typedef ControlEditTextSelectionRec ControlEditTextSelectionPtr;

Field descriptions

selStart

The start of the editable text selection.

selEnd

The end of the editable text selection.

You can use the ControlEditTextSelectionRec type to specify a selection range in an editable text control. You pass a pointer to the editable text selection structure to GetControlData and SetControlData to access and set the current selection range in an editable text control.

VERSION NOTES

The ControlEditTextSelectionRec type is available with Appearance Manager 1.0 and later.


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