92
Chapter 9: Application Control Flow
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
9.9.3. CM_PASTE_HANDLE
The application usually passes this command to a text edit field. If the app does
not handle this event, the default event handler breaks up the string in the handle
and feeds each character back to the app in CM_KEY_PRESS events. The
handle is then automatically freed after the last character has been sent to the
current app.
9.9.4. CM_STO
This command sends a store character
!
in a CM_KEY_PRESS event to the
current app.
9.9.5. CM_RCL
This command displays and processes the RECALL dialog box to get the name
of a variable. It then sends the contents of the variable to the current app in a
CM_PASTE_HANDLE event.
9.9.6. CM_DEACTIVATE
This command turns off the custom menu (
CustomEnd
) or the running app’s
menu (
MenuEnd
), whichever is active. This is part of the automatic menu
handling described in section
9.6. Menu Processing
.
9.9.7. CM_ACTIVATE
This command turns on (
MenuBegin
) the running app’s menu. This is part of the
automatic menu handling described in section
9.6. Menu Processing
.
9.10. Installing, Moving, and Deleting an Application
The OS sends CM_INSTALL to an application after it is downloaded into Flash
memory, and when the calculator is reset. The OS allocates RAM for the
application’s data segment, zeros uninitialized static variables and sets the
values of initialized static variables. Any additional initialization which the
application needs to perform once when it is installed should be done at this time.
The OS calls the AppNoticeInstall method of every application in the calculator
when a new application is installed. App localizers use this notice to watch for
applications which need to be overridden with local language string tables. See
AppNoticeInstall
application method in section
7.3.1.3.17. Method
OO_APP_NOTICE_INSTALL (0x11)
.