XLL+ Class Library

CXlMenu Methods

The methods of the CXlMenu class are listed here.

Construction

public methodCXlMenuConstructs a CXlMenu object without displaying it

Pre-create functions

public methodSetTextsSets the menu text and (optionally) description
public methodAddItemAdds a menu item

Creation functions

public methodCreateAdds the menu or sub-menu to the Excel main application menu bar
public methodDestroyRemoves the menu from Excels' application menu bar.

Item methods

public methodDeleteItemDeletes an item from a menu
public methodReplaceItemReplaces an item in a menu
public methodEnableItemEnables or disables an item in a menu
public methodCheckItemSet the chcked state of an item in a menu

Service functions

public methodpublic methodGetCallingMenuDetermine which menu item called the current add-in function

Requirements

Header: xlmenu.h

See Also

CXlMenu Class | xlmenu.h | Menus (User Guide) | Simple menus sample | Advanced menus sample | CXllApp object