![]() |
TEDeactivate |
||||
Header: | TextEdit.h | Carbon status: | Not Recommended | |
Deactivates the specified edit structure.
void TEDeactivate ( TEHandle hTE );
A handle to the specified edit structure.
When the activate event flag is set to deactivate the window, your application can call the TEDeactivate function, which changes an edit structures status from active to inactive and removes the selection range highlighting or the caret.
However, if you turned on outline highlighting through the TEFeatureFlag function for the edit structure, the text of the selection range is framed or a dimmed or an unblinking caret is displayed at the insertion point when the structure is deactivated.
Call this function every time the Event Manager function WaitNextEvent reports that the window containing the edit structure has become inactive.
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)