Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QWIKC20 & Multi-Level Virtual Windows - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

                                MACROS

  Macros - These macros are used to control the data structure size or to
  conveniently set window mode bits.

    Macro             Value  Description
    --------------    -----  ------------------------------------------------
    MAXWINDOW         1-254  Set by the user, this value determines the
                             maximum number of windows that can be on the CRT
                             on any video page.  This sets the amount of
                             static data to be used.

    MAXVIRTUALWINDOW  0-254  Set by the user, this value determines the total
                             number of virtual screens minus one that will be
                             maintained at any one time.  If no virtual
                             windows are wanted, undefine the macro
                             ADDVIRTUAL.

    MAXPAGEUSED       0 - 7  Set by the user, this value determines the
                             highest page number to be managed in a multi-
                             page program.  If only page 0 is going to be
                             used (which is usually the case), then undefine
                             the directive MULTIPAGE.  This will reduce the
                             static data by a significant amount.

  Window Modes - There are several window modes and combinations of modes
  that can be set using setwindowmodes and saved in the variable windowmodes.
  This is a list of those modes, values and descriptions.  After the window
  is created, the modes are saved in wsmodes as well as the "to" modes which
  indicate the status of the window.

    Macro           Value   Description
    --------------  ------  -------------------------------------------------
    RELMODE         0x0001  (Bit 0) Simply overwrites the screen relative to
                            the current window.  The row/col coordinate is
                            window relative.  Works and stays in the current
                            writeto mode.  This is usually used for flexible
                            screen design.  The stats are only temporary and
                            lost after changing windows.  To get back to the
                            parent window, use removewindow.
    PERMMODE        0x0002  (Bit 1) Makes the window permanent on the screen.
                            This means that no underlay is saved.  These
                            windows must be the first ones created.  They can
                            be accessed, but be sure no other window is
                            covering it (wi<=pli) before writing to the
                            screen, because they are not necessarily the top
                            window.
    SHADOWLEFT      0x0004  (Bit 2) Places a shadow on the left side.
    SHADOWRIGHT     0x0008  (Bit 3) Places a shadow on the right side.
    ZOOMMODE        0x0010  (Bit 4) Creates a zoom effect with makewindow,
                            showwindow, and accesswindow.
    HIDDENMODE      0x0020  (Bit 5) Creates the window as hidden.
    VIRTUALMODE     0x0040  (Bit 6) Creates a virtual window with a virtual
                            screen.
    CURSOROFFMODE   0x0080  (Bit 7) Always leaves cursor off.
    SEETHRUMODE     0x0100  (Bit 8) Doesn't clear screen inside the border
                            and ignores ZOOMMODE.
    NOHIDEMODE      0x0200  (Bit 9) Ignores request to hide window.
    NOACCESSMODE    0x0400  (Bit 10) Ignores request to access window.
    NOMOVEMODE      0x0800  (Bit 11) Ignores request to move/resize window.
    TOCRTMODE       0x1000  (Bit 12) Indicates writing to CRT.
    TOHIDDENMODE    0x2000  (Bit 13) Indicates writing to hidden window.
    TOVIRTUALMODE   0x4000  (Bit 14) Indicates writing to virtual screen.



Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson