Home List boxes LIST BOX - CREATE (AES 170) LIST BOX - DO (AES 172)

2.4.3 LIST BOX - UPDATE (AES 171)

UPDATE updates the contents of the list box objects, i.e. the function <set> (see LIST BOX - CREATE (AES 170)) is called for each of the objects. If <rect> is not 0L it will be regarded as a pointer to a GRECT that will be used for the redraw of the list box. Otherwise the objects will only be updated but not drawn.

Declaration:
void lbox_update( LIST_BOX *box, GRECT *rect );

Call:
lbox_update( box, &redraw_rect );

Variable         Argument        Meaning
Inputs:

contrl[0]        171             lbox_update
contrl[1]        0               Entries in intin
contrl[3]        2               Entries in addrin

addrin[0]        box             Pointer to the list box structure
addrin[1]        rect            Pointer to the redraw GRECT or 0L

Outputs:

contrl[2]        0               Entries in intout
contrl[4]        0               Entries in addrout


Home List boxes LIST BOX - CREATE (AES 170) LIST BOX - DO (AES 172)