![]() |
Text Custom Hook Constants |
Header: TextEdit.h |
enum { intEOLHook = 0, intDrawHook = 1, intWidthHook = 2, intHitTestHook = 3, intNWidthHook = 6, intTextWidthHook = 7, intInlineInputTSMTEPreUpdateHook = 8, intInlineInputTSMTEPostUpdateHook = 9 };
End-of-line hook
Draw hook
Width measurement hook
Hit test hook
New width measurement hook
Text width measurement hook (low-memory global width measurement hook)
To specify a default TextEdit hook function with a customized function, you specify one of the following constants as the value of the which parameter to the TECustomHook function.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)