EasyManuals Logo

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1209 background imageLoading...
Page #1209 background image
Appendix A: System Routines — Windows
1167
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
WinDupStat
Declaration:
BOOL
WinDupStat
(WINDOW *
w
, BOOL
Stat
)
Category(ies):
Windows
Description:
Turn the duplicate status on (
Stat
= TRUE) or off (
Stat
= FALSE). When the
duplicate status is turned off, all writes to a window go only to the screen.
When turned on, all writes go to both the screen and the backup window.
This only applies to windows created with the WF_DUP_SCR flag set.
Inputs:
w
WINDOW struct of a previously opened window.
Stat
TRUE to turn duplicate writes on, FALSE to turn them off.
Outputs:
If WF_DUP_SCR is set then returns the old status.
Assumptions:
The WINDOW
w
was opened with the WF_DUP_SCR flag.
Side Effects:
Duplicate writes slow down all writes to windows with WF_DUP_SCR set.
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: WinOpen, WinBackupToScr
Example:
WINDOW w;
if (WinOpen(&w, MakeWinRect(10,10,90,80), WF_DUP_SCR|WF_TTY )) {
WinActivate( &w );
WinStr( &w, "THIS IS DUPLICATED\n" ); /* written to screen & backup */
WinEllipse( &w, 40,40,20,20 ); /* ditto */
WinDupStat( &w, FALSE );
WinStr( &w, "THIS GOES ONLY TO THE SCREEN"); /* does not go to backup */
ngetchx();
WinBackupToScr( &w ); /* last WinStr text will be gone */
ngetchx();
WinClose( &w );
}

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals