_DisposeMenu( ) API Library Routine

See Also   Example

Releases the specified menu and all its items and frees all memory associated with this menu.

Syntax

void _DisposeMenu(MENUID menuid)
MENUID menuid;            /* Menu identifier. */

Remarks

_DisposeMenu( ) doesn't release any submenus that are associated with the menu.

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.