HITTESTHook
HITTESTHook
TextEdit calls HITTESTHook to determine the character position in a line,
given the pixel width from the left edge of the view rectangle. The default
action is to call the TextWidth function to determine if the pixel width of the
measured text is greater than the input width. If it is, then HITTESTHook
calls the Script Manager's Pixel2Char function and returns. For more
information on Pixel2Char, refer to the
Worldwide Software Overview. For comprehensive details, see
Macintosh Worldwide Development: Guide to System Software.