Important: The information in this document is obsolete and should not be used for new development.
TEDeactivate
TheTEDeactivate
procedure deactivates an edit record.
PROCEDURE TEDeactivate (hTE: TEHandle);
hTE
- A handle to the specified edit record.
DESCRIPTION
When you callTEDeactivate
for an edit record, the highlighted selection range is no longer displayed. If the selection range is an insertion point,TEDeactivate
no longer displays the caret. However, if you turned on outline highlighting through theTEFeatureFlag
function for the edit record, the text of the selection range is framed or a dimmed or an unblinking caret is displayed at the insertion point when the record is deactivated.Call this procedure every time the Event Manager function
WaitNextEvent
reports that the window containing the edit record has become inactive.SEE ALSO
For a description of theWaitNextEvent
function, see the chapter "Event Manager" in Inside Macintosh: Macintosh Toolbox Essentials.