active_menu

Global pointer to the most recent activated menu.

Description

extern MENU *active_menu;
When a menu callback procedure is triggered, this will be set to the menu item that was selected, so your routine can determine where it was called from.
See Also:
Examples using this:

Related Projects

The following projects include source code containing this keyword: