Texas Instruments TI89 Developer Guide - Page 134
CM_PASTE_HANDLE, CM_STO, CM_RCL, CM_DEACTIVATE, Installing, Moving, and Deleting an Application
![]() |
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 134 highlights
92 Chapter 9: Application Control Flow 9.9.3. 9.9.4. 9.9.5. 9.9.6. 9.9.7. 9.10. 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. CM_STO This command sends a store character ! in a CM_KEY_PRESS event to the current app. 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. 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. 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. 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). TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001
![](/manual_guide/products/texas-instruments-ti89-developer-guide-95b636f/134.png)