Param2Desc{The text of the menu item}CommandName{addMenuItem}HelpPath{Menus}ReturnValue{}OpenBrace{ }Parameters{handle menu, str caption, int returnValue}CloseBrace{}Description{Adds an item to a menu created with createMenu, createSubMenu or createPopupMenu.  When the user selects the item from the menu, a MENU_CLICK message is sent to the window which owns the menu, and eventData() contains the menu item id (taken from the returnValue parameter ^ )}ReturnDescription{}Param1{menu}Param1Desc{Handle to a menu}Param2{caption}Param3{returnValue}Param3Desc{A number which identifies the new item.  The number which will appear in eventData() when the menu item is selected.  Use this to identify which menu item has been clicked.  You also need to pass this number to the setMenuItemEnabled, setMenuItemChecked etc. commands to change the item.<br><br>
You should use a different number for all menu items in your application, regardless of which menus they belong to.}Param4{}