AddCustomSubMenuAddCustomSubMenu — a convenience method for adding a menu.
AddCustomSubMenu (label, pos?=._TrayMenuPosition)
labelThe name of the menu, as a text string, that will actually appear on the menu.
posAn integer desinating the position of this item on the menu. This
is an optional argument. If not specified, the value of the
_TrayMenu class variable will be used.
The value of the ._CustomSubmenu class variable, a positive
integer.
This method is a convenience method for adding a menu. It is a wrapper on
AddSubMenu
that also automatically assigns the parent menu and arranges its items
sequentially as they coded, using the AddCustomMenuItem method.