Carbon


TESetStyleHandle

Header: TextEdit.h Carbon status: Not Recommended

Sets an edit structure’s style handle, which is stored in the txFont and txFace fields.

void TESetStyleHandle (
    TEStyleHandle theHandle, 
    TEHandle hTE
);
Parameter descriptions
theHandle

The style handle to be set in the combined txFont and txFace fields of the specified edit structure.

hTE

A handle to the edit structure.

DISCUSSION

The TESetStyleHandle function has no effect on monostyled edit structures.

Your application should always use TESetStyleHandle rather than manipulate the fields of the edit structure directly.

AVAILABILITY

Not recommended in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)