Appendix A: System Routines — Apps
317
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
OO_InstallAppHook
(continued)
Example:
/* This single-attribute hook frame overrides the name of an app.
The app will appear as "New App" in the [APPS] menu
*/
FRAME(NewAppName, OO_SYSTEM_FRAME, NULL, OO_APP_NAME, 1)
ATTR(OO_APP_NAME, "New App")
ENDFRAME
pFrame hook;
AppID myappid;
.
.
.
/* Get ID of the app to hook */
myappid = EV_getAppID((UCHAR const *)"MYAPP");
/* Hook new app name into app */
OO_InstallAppHook(myappid, (pFrame)&NewAppName, &hook);