GetMenu()
USAGE
Menu = (struct Menu *) GetMenu(MenuList, MenuNum)
FUNCTION
Returns the Menu structure in the Menu list at the position defined by
MenuNum (the same number used to identify it when you are receiving MENU
events).
You can use this to access Menus in any list you might have, be it the
window's drop down menu, or one of several pop up menu lists.
If you are dealing with Menu that ist already installed (with SetMenuStrip),
you can call:
Menu = (*functions->GetMenu)(window->MenuStrip, MenuNum);
INPUTS
MenuList = Pointer to the linked list of Menu structures.
MenuNum = Index of the Menu structure you want.
RESULT
Menu = Pointer to the requested Menu, NULL if it doesn't exist.