To force an update of the contents of a window, set WNECHO to ON and call the window update function, wn_upd():
|
The following code fragment updates a window:
|
To force an update of only a portion of the window, call the window region update function, wn_updrgn():
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For example, the following code sets a window on the screen and writes "Hello, world" to the window. The string is displayed in the window on the video screen. Next, the echo option is turned OFF and a string written to the window. To have the string appear in the window, turn virtual window echoing back on and update the window with wn_upd().
|