Setting WINDOW Structure Members

  #include <vv_sys.h>
   
void sw_actfp (int (*act_fp) ( ), WINDOWPTR wnp)

Installs a pointer to an activate function

void sw_adjq (int horzq, int vertq, WINDOWPTR wnp)

Sets the limits for adjusting the window when viewing memory files or memory screens

void sw_att (UCHAR att, WINDOWPTR wnp)

Sets the window attribute

void sw_bdr (BORDERPTR bdrp, WINDOWPTR wnp)

Sets the border type for a window

int sw_bdrtxt (UCHAR *textp, int border, int justify, UCHAR att, WINDOWPTR wnp)

Sets the specified type of int border text for the window

void sw_dest (SCRPTR scrp, WINDOWPTR wnp)

Assigns a destination screen (video or memory) to the window

void sw_exporg (short exporg, WINDOWPTR wnp)

Sets the origin of explosion and rolling for the specified window

void sw_fillchar (UCHAR fillchar, WINDOWPTR wnp)

Sets the window fill character

void sw_mg (int top, int bottom, int left, int right, UCHAR ch, UCHAR att, WINDOWPTR wnp)

Sets the character, attribute, and margins to use for the window

void sw_latt (UCHAR latt_array, WINDOWPTR wnp)

Sets the logical attribute array to be used with the window

void sw_mf (MFILEPTR mfp, WINDOWPTR wnp)

Assigns a memory file to the window

void sw_msbuf (SCRPTR msp, WINDOWPTR wnp)

Assigns the memory screen to be used as a buffer for the window

void sw_opt (ULONG options, int state, WINDOWPTR wnp)

Sets the options to the specified state for the window

void sw_name (UCHAR *name_stp, WINDOWPTR wnp)

Assigns a name to a window

int sw_org (int mem_row, int mem_col, WINDOWPTR wnp)

Sets the origin of the window within a memory screen buffer or memory file

void sw_parent (WINDOWPTR child_wnp, WINDOWPTR parent_wnp)

Assigns a parent to a window

void sw_susfp (int (*sus_fp) ( ), WINDOWPTR wnp)

Installs a pointer to a suspend-window function

void sw_scrlq (int scrlq, WINDOWPTR wnp)

Sets the maximum number of rows to scroll during window writes

void sw_title (UCHAR *stp, UCHAR att, int loc, WINDOWPTR wnp)

Assigns a title to appear in the border with the specified attribute at the specified location

void sw_updnfp (int (*up_fp) ( ), int (*dn_fp) ( ), WINDOWPTR wnp)

Assigns the functions used to put the window up and take the window down from the screen

void sw_vidpage (int vidpage, WINDOWPTR wnp)

Sets the video page that the window is to appear on (PCDOS only)



Home Contents Previous Next