Reviewed July 2009
xcall AUI, AUI_MENU, opcode, menuid, mnutxt, mstate, mtype, cmd, func, mstatus {,dlgid {,itemid}}
xcall AUI, AUI_MENU, opcode, mdfspec, mstate, mstatus {,dlgid}
The AUI_MENU class deals with the A-Shell menu bar, offering methods for adding and deleting menu items. The first form of the syntax above (AUI_Menu Traditional Method) is the original method, which is still the most flexible, but most difficult to use. The second form (AUI_Menu Simplified Method) vastly reduces the amount of code you need to write.
Note:
• When the GUI trace is active, AUI_MENU operations are traced.
• This operation can only take place on a GUI-enabled client, either ATE or some form of A-Shell/Windows.
• Information on recent changes to AUI_MENU may be found in the AUI_MENU Enhancements section.
Samples
Several sample programs illustrating menu operations may be found in [908,35] of the SOSLIB.
History
2009 November, 5.1.1166
A-Shell permits an unlimited number of menu items; the menu table expands automatically as need.
2009 January, 5.1.1136
The maximum number of custom menu items is 250; previously it was 125.
Subtopics