int dal_men_set_sel_chk (fnc)

Sets a callback check function for menu selections.

Input Parameters Significance
SEL_CHK_FNC fnc pointer to check function

Output Parameters Significance
none -

Return Code Significance
-1 callback 0 pointer passed
1 callback function already entered
0 callback function added

With the help of the check function you can decide whether a selection has to be entered into a menu or not. Several check functions can be put into a callback queue and be sequentially executed.

The check function must correspond to the specification int fnc(typ,idm,selnam,selusx,usxpar). The parameters are:

If the check function passed returns a Return Code = 0, checking will be continued in the queue. In case of Return Code different from 0 the queue will be left.