602
Appendix A: System Routines — Graphing
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
GraphActivate
Declaration:
BOOL
GraphActivate
(BOOL
RealCoords
)
Category(ies):
Graphing
Description:
Activate the Graph app if not already active. If the activation fails (user
presses
´
) then return FALSE. Otherwise, return TRUE (and repaint
screen before returning).
Inputs:
RealCoords
— Set to TRUE if floating-point coordinates used, FALSE if
pixel coordinates are used. An error is thrown if
RealCoords
is true and the grapher is in 3D mode.
Outputs:
TRUE — Success in activating the Graph app.
FALSE — Activation failed (user pressed
´
or invalid functions
being graphed).
Assumptions:
None
Side Effects:
May cause heap compression.
NOTE:
Activating another app will cause the current app to be deactivated (receive a
CM_QUIT message). The app will have to reactivate itself to get the focus
back. See the second example for a way to handle this.
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: GT_Regraph_if_neccy
(continued)