About Writing to Windows

This chapter explains how to write to windows in your code. It describes how to control the location of output, how to control the color of output, and how to write in different formats. Window options affect the performance of the video output functions. This chapter also discusses how to set window options in your code.

Designer: You can put text, boxes, and lines in a window and set the window options using the Designer. You can also write to a window in your code at any point after reading the window from the Designer library.

Code: You can write text (including lines and boxes) and/or attributes to a window. The functions that write to windows are called video output functions. Among others, there are video output functions that write a string to a window with a specified attribute, write a quantity of characters, draw a line in a window, and write formatted output.

Note: You cannot use the video output functions to write to windows that are viewing memory files. You must instead update the underlying memory file and then flush this information to the screen. See Chapter 45, "Creating and Viewing Memory Files," for more information.

More:

Working Area of a Window

Dimensions of a Window

Location of Output: The Virtual Cursor

Factors that Influence Writing to Windows

Writing to Windows that Are Not Displayed


Home Contents Previous Next