TELActivate
Processes an activate or deactivate event for a window associated with a telephone tool.
pascal void TELActivate (TELHandle hTEL, Boolean activate);
hTEL
- A handle to the telephone record associated with a telephone terminal.
activate
- A value that indicates whether the telephone tool should process an activate or a deactivate event. If the telephone tool should activate its associated window, set this parameter to
true. If the telephone tool should deactivate its associated window, set this parameter to false.
DESCRIPTION
When your application processes an activate or deactivate event, it should determine whether the affected window belongs to a telephone tool. You can determine if an event should be processed by a telephone tool by checking the refcon field for the window record (windowRecord). If refcon points to a handle for a telephone record, then you should call TELActivate to handle the event.