TEGetStyleHandle
TheTEGetStyleHandlefunction returns the style handle stored in the designated
edit record'stxFontandtxFacefields. The style handle points to the associated
style record.
FUNCTION TEGetStyleHandle (hTE: TEHandle): TEStyleHandle;
hTE- A handle to the multistyled edit record containing the style handle to
be returned.DESCRIPTION
TheTEGetStyleHandlefunction returns a handle to the style record (of typeTEStyleRec), not a copy of it. Because only multistyled edit records have style records,TEGetStyleHandlereturnsNILwhen used with a monostyled edit record. To ensure future compatibility, your application should always use this function rather than manipulate the fields of the edit record directly.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help