![]() |
TEGetStyleHandle |
||||
Header: | TextEdit.h | Carbon status: | Not Recommended | |
Returns the style handle stored in the designated edit structures txFont and txFace fields. The style handle points to the associated style structure, not to a copy of it.
TEStyleHandle TEGetStyleHandle ( TEHandle hTE );
A handle to the multistyled edit structure containing the style handle to be returned.
A handle to the style structure contained in the specified edit structure (of type TEStyleRec). Because only multistyled edit structures have style structures, TEGetStyleHandle returns NULL when used with a monostyled edit structure.
To ensure future compatibility, your application should always use this function rather than manipulate the fields of the edit structure directly.
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)