Window Scroll Bars

  #include <vv_sys.h>
   
void se_sbch (UCHAR corner_ch, UCHAR up_ch, UCHAR down_ch, UCHAR left_ch, UCHAR right_ch, UCHAR page_ch, UCHAR thumb_ch)

Sets the characters used for scroll bars

void se_sbcoversize (int cover_size)

Informs the system of the size of the cover region for scroll bars you design

int sw_sb (int options, ULONG sb_type, WINDOWPTR wnp)

Enables/disables the use of scroll bars for the window

void sw_sbrange (int newmin, int newmax, ULONG sb_type, WINDOWPTR wnp)

Sets the range for a window's manually updated scroll bar

void sw_sbval (int newval, ULONG sb_type, WINDOWPTR wnp)

Sets the current value for a window's scroll bar and updates the screen

int wn_sbdraw (WINDOWPTR wnp)

Draws the scroll bar (s) on the window

void wn_sbrange (int *minp, int *maxp, ULONG sb_type, WINDOWPTR wnp)

Gets the range for a window's scroll bar

int wn_sbthumb (ULONG sb_type, WINDOWPTR wnp)

Returns the thumb position for a window's scroll bar

void wn_sbupd (int oldpos, int newpos, ULONG sb_type, WINDOWPTR wnp)

Updates the thumb position on a window's scroll bar

int wn_sbval (ULONG sb_type, WINDOWPTR wnp)

Gets the current value for a window's scroll bar



Home Contents Previous Next