[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function Assistance and notes
The Window BOSS's functions fall into two major groups, those
that manipulate windows and those that deal with the video or
keyboard interface at a relatively low level. All window
manipulation functions being with the prefix "wn_" as in
"wn_open", while all video and keyboard based functions begin
with "v_" or "_" as in "v_getch" and "_putch". This convention
makes it easy to remember where to look when you want to do
something. Additionally, there are several global functions
which which begin with "wns_". These functions, although visible
to the outside world, are used internally by The Window BOSS.
The Window BOSS has been tested on the IBMPC/XT/AT and 3270 PC
equipped with monochrome, CGA, and EGA video boards. All
functions with the exception of v_sctype(), which does not do
well on the 3270 PC, work as specified.
Several functions require an attribute byte. The attribute byte
contains background specific data in the upper 4 bits and
foreground specific data in the lower 4 bits. Color and bit
definitions can be found in windows.h. You can use a statement of
the form: atrib = ((BLUE << 4) | WHITE); to set the attribute to
the correct form. The preceding example would result in a BLUE
background with WHITE characters. The macro v_setatr in
windows.h can also be used.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson