Instead of relying on the auto-generated names, it is safer to give your menu pads a name explicitly. That way, it is easier to control with a program.
>When I look at the MYMENU.MPR file I see lines:
>
>
>on pad _my_menu of _msysmenu activate popup report
>
>
>The last word (in the example above "report") matching the menu pad name. But I noticed that if the pad name is longer than 10, it gets truncated to 10 characters. For example, if I have a pad name "MyProgramReports" the name will be truncated to "myprogramr." I use these popup names to add or remove items from the menu dynamically at run time.
>
>Is there a trick to overcome this limitation of 10 characters?
>
>TIA.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)