| WinDupStat | Function (ROM Call 0xE)

wingraph.h

short WinDupStat (WINDOW *w, short Stat);

Turns the duplicate status on or off.

WinDupStat turn the duplicate status of the window pointed to by w 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. See WinOpen for more info. Beware that duplicate writes slow down all writes to windows with WF_DUP_SCR flag set. WinDupStat also returns the previous duplicate writing status.
Note: This is an official information from TI. I must admit that many things about window management (especially about overlapping windows) is still very obscure to me.

Used by: cmd_ptchg, cmd_ptoff, cmd_pton, cmd_pxlchg, cmd_pxloff, cmd_pxlon, push_pttest, push_pxltest, GD_Circle, GD_Eraser, GD_HVLine, GD_Line, GD_Pen, GD_Select, GD_Text, GZ_Box, gr_DispLabels, gr_stopic, GT_BackupToScr, GT_CursorKey, GT_DspMsg, GT_DspTraceCoords, GT_FreeTrace, GT_SaveAs, GT_ShowMarkers, GT_Trace, Regraph, YCvtFtoP