Texas Instruments TI89 Developer Guide - Page 118
Var-link, Xf_allow_varlink Flag. See
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 118 highlights
76 8.7. Chapter 8: Integrating a Flash Application VAR-LINK The VAR-LINK screen can be activated by pressing the ° key or directly by using the handleVarLinkKey routine (Appendix A). By default, VAR-LINK is disabled within a dialog box. It can be enabled by using the XF_ALLOW_VARLINK flag. See section 11.4 Dialog Boxes for further details. VAR-LINK can also view files (3rd party data types) generated by an app. An app must have an OO_APP_VIEWER entry in its frame to specify a routine to view files (see chapter 7. Flash Application Layout for a description of FRAME attributes). The prototype for the app viewer is as follows: BOOL LocAppViewer (AppID appID, BYTE * type, WINDOW * vlWin, HSYM hSym) appID - The app's ID. type - A pointer to a one to four character string containing the file type of the file to be displayed. vlWin - Pointer to a WINDOW structure that the app can draw to display the contents of the file. hSym - The HSYM of the file to display. If the app handles the specific view request it must return TRUE, if not it should return FALSE and the next app in the list of apps will be given a chance to view the file. See the FOpen routine for an example app viewer. In terms of sample code see the VarCreateFolderPopup routine for the source to VAR-LINK's F2 (view) key. TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001