_SetItemSubMenu( ) API Library Routine

See Also   Example

Assigns a submenu to the specified menu item.

Syntax

void _SetItemSubMenu(MENUID menuid, ITEMID itemid,
                       MENUID submenuid)
MENUID menuid;            /* Menu identifier. */
ITEMID itemid;            /* Menu item identifier. */
MENUID submenuid;         /* Submenu identifier. */

Remarks

You can use _SetItemSubMenu( ) to attach a menu to a menu title or to a submenu to a 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.