![]() |
TEAutoView |
||||
Header: | TextEdit.h | Carbon status: | Not Recommended | |
Enables and disables automatic scrolling of the text in the specified edit structure.
void TEAutoView ( Boolean fAuto, TEHandle hTE );
A flag indicating whether to enable or disable automatic scrolling. A value of TRUE enables automatic scrolling; a value of FALSE disables automatic scrolling.
A handle to the edit structure for which automatic scrolling is to be enabled or disabled.
The TEAutoView function does not actually scroll the text automatically: TESelView does. However, when fAuto is set to FALSE, a call to TESelView has no effect.
If there is a scroll bar associated with the edit structure, your application must manage scrolling of it. You can replace the default click loop function, which scrolls the text only, with a customized version that also updates the scroll bar.
You can also enable or disable automatic scrolling for an edit structure through the teFAutoScroll feature of the TEFeatureFlag function. For more information, see TEFeatureFlag.
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)