 |
EV_startSide |
Function (ROM Call 0xD5) |
Starts the given side.
EV_startSide first sends CM_STARTTASK message to the application
with ID number TaskID. Field StartType of the event structure will be set
to AP_START_CURRENT, and field r (in extra field)
of the event structure will be filled from the result of executing EV_getSplitRect
function (with Side given to it as the parameter). See EV_startTask.
This is all if the current side is not equal to Side, else messages
CM_ACTIVATE and CM_FOCUS will also be sent
to the task TaskID and side Side (using EV_sendEventSide).
EV_startSide also fills the variable pointed to by saveTaskID with TaskID (I
don't know what the purpose of this is).
Uses: EV_getSplitRect, EV_sendEventSide, EV_appSide, EV_currentApp
Used by: MO_digestOptions
See also: EV_startApp