FormThumb() - handle a thumb index in a dialog box.
PROTOTYPAGE
int FormThumb( WINDOW *win, int *idxthb, int *idxbut, int
nb)
PARAMETERS
win:
window descriptor,
idxthb:
list of subdialog index to link ,
idxbut:
list of button index to link,
nb:
number of buttons to link,
return:
0 if no error occurs.
DESCRIPTION
The function declare a thumb, i.e. a multiple subdialog,
inside a window dialog. After this call, thumb buttons are
automatically handled. Parameters idxthb and idxbut describe
links between thumb buttons and sub dialogs. There are array of
nb items. For each item i of these arrays, idxthb[i] is linked
to idxbut[i].
EXAMPLE
/* Example of thumb indexes with three elements */
int but [] = {BUT1, BUT2, BUT3};
int sub [] = {SUB1, SUB2, SUB3};
win = FormCreate( ...);
FormThumb( win, sub, but, 3);