![]() |
TEUpdate |
||||
Header: | TextEdit.h | Carbon status: | Not Recommended | |
Draws the specified text within a given update rectangle.
void TEUpdate ( const Rect *rUpdate, TEHandle hTE );
The update rectangle, given in the coordinates of the current graphics port, where the specified text is to be drawn.
A handle to the edit structure containing the text to be drawn.
Call TEUpdate every time the Event Manager function WaitNextEvent reports an update event for a text editing windowafter you call the Window Manager function BeginUpdate, and before you call the EndUpdate function. You also need to erase the update region with the EraseRect function. If you dont, the caret can sometimes remain visible when the window is deactivated.
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)