Returns the menu item identifier of a submenu assigned to a menu item.
Syntax
MENUID _GetItemSubMenu(MENUID menuid, ITEMID itemid);
MENUID menuid; /* Menu identifier */
ITEMID itemid; /* Menu item identifier*/
Remarks
A submenu is treated as an independent menu. _GetItemSubMenu( ) returns the MENUID of the submenu assigned to a specified menu item, or a – 1 if there is no submenu assigned to the menu item.
For more information on how to create an API library and integrate it with Visual FoxPro, see Chapter 28, Accessing the Visual FoxPro API, in the Programmer's Guide.