AddSubMenu
AddSubMenu — creates a submenu on a parent menu.
Syntax
AddSubMenu (parent, pos, label)
Arguments
- parent
- The parent menu for this submenu, such
as that returned by a call to CreateSystemMenu
or AddSubMenu.
- pos
- An integer designating the position of
this item on the menu.
- label
- The name of the submenu, as a text
string, that will actually appear.
Returns
The value of the
._CustomSubmenu class variable, a
positive integer.
Description
This method adds a submenu
to the DataHub's system tray menu. The submenu can then be
used for adding menu
items or other submenus.