<< Click to Display Table of Contents >> SetSubMenu SEMenu |
![]() ![]() ![]() |
Purpose
Assigns a sub menu handle to the existing menu item <nItemID>.
Prototype
METHOD SetSubMenu(nItemID, hSubMenu) CLASS SEMenu
Arguments
<nItemID> |
Item ID of an existing menu item. |
[<hSubMenu>] |
Handle of the sub menu. If hSubMenu is NIL or not specified a new empty sub menu becomes created. |
Return
The handle of the sub menu (hSubMenu or the handle of the new created empty sub menu) if successful, otherwise Null_Ptr.