Appendix A: System Routines — Windows
WinActivate
Declaration:
void WinActivate (WINDOW * w )
Category(ies):
Windows
Description:
Make the window the current active window. This will cause the following
events:
1. The currently active window will be deactivated (its border will be
2. The border for the window will switch to a double-line border. (Unless it
3. The current screen state will be reset to the current windows defaults
4. The window will be marked as visible (see WinHide).
Inputs:
w — WINDOW struct of a previously opened window.
Outputs:
None
Assumptions:
None
Side Effects:
Deactivates the currently active window.
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
WinBeginPaint, WinDeactivate, WinHide
Example:
/* When a app gets the CM_ACTIVATE message it usually activates its window. */
case CM_ACTIVATE:
EV_defaultHandler(e);
WinBeginPaint( &appW );
WinActivate( &appW );
break;
TI-89 / TI-92 Plus Developer Guide
changed to a single-line border).
is a full screen window.)
(draw attributes, current X, Y location, . . . ).
Not for Distribution
1151
Beta Version January 26, 2001