DtvLong dal_men_res_men (max, idm)

Removes all item entries from a menu.

Input Parameters Significance
DtvLong max maximum visible length of the menus
DtvLong idm menu Id

Output Parameters Significance
no -

Return Code Significance
0 no error
-1 zero Id

The function removes all item entries in the menu, even if not all of them are visible because of a defined maximum menu length.

The function automatically invoke any set Menu listener function.