int dal_but_sel_chk (men, selnam, selusx, usxpar)

Checks whether the button can be added to the button area, based on the result from the callback queue.

Input Parameters Significance
DtvLong men button area Id
char *selnam button name
char *selusx userexit
char *usxpar userexit parameter

Output Parameters Significance
none -

Return Code Significance
0 button can be added to button area
else button cannot be added to button area

This function calls the check function from the callback queue set via dal_but_set_sel_chk.

The function passes the return code of the check function which leaves the queue with different from 0 to the calling, button-area-creating function (e.g. dal_dmi_cre_but). If 0 is passed to the calling function or if no check function has been set, the button can be added to the button area.