Home List boxes LIST BOX - SCROLL TO, SLIDER A (AES 175, 4) LIST BOX - SET NUMBER OF ENTRIES, SLIDER B (AES 175, 6)

2.4.24 LIST BOX - SET SLIDER B (AES 175, 5)

This function positions Slider B 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_bsldr( LIST_BOX *box, WORD first, GRECT *rect );

Call:
lbox_set_bsldr( 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]         5              lbox_set_bsldr
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


Home List boxes LIST BOX - SCROLL TO, SLIDER A (AES 175, 4) LIST BOX - SET NUMBER OF ENTRIES, SLIDER B (AES 175, 6)