TEActivate
TEActivate activates an edit record by highlighting its selection range or displaying the vertical-bar caret.
variable-length TERec structure and identifies the edit record to be deactivated.
Notes: This function should be called every time the GetNextEvent function indicates that the window containing the edit record has become
active (i.e., on activateEvt events when the modifiers bit 0 is set to 1).