This function positions Slider A and draws it within the redraw rectangle <rect>. The contents of the list box will not be updated, so one may have to call lbox_update(). If <rect> is 0L, then only the position of the slider objects will be altered, but the objects will not be drawn.
Declaration:
void lbox_set_slider( LIST_BOX *box, WORD first, GRECT *rect );
Call:
lbox_set_slider( box, first, &rect );
or
lbox_set_asldr( box, first, &rect );
Variable Argument Meaning
Inputs:
contrl[0] 175 lbox_set
contrl[1] 2 Entries in intin
contrl[3] 2 Entries in addrin
intin[0] 0 lbox_set_slider
intin[1] first Index of the first visible entry
addrin[0] box Pointer to the list box structure
addrin[1] rect Pointer to redraw rectangle or 0L
Outputs:
contrl[2] 0 Entries in intout
contrl[4] 0 Entries in addrout