XLL+ Class Library

CXlMenu::Destroy

Removes the menu from Excels' application menu bar.

[C++]
BOOL Destroy();

Return value

Returns TRUE if the call is successful, FALSE if it fails.

Remarks

Removes the menu from Excel's application menu bar. This function should be called during the OnXllClose() event handler.

Requirements

Header: xlmenu.h

See Also

CXlMenu Class | CXlMenu Methods