XLL+ Class Library

CXlMenu::SetTexts

Sets the menu text and (optionally) description

[C++]
void SetTexts(
   const char* pszText,
   const char* pszDescription = 0
);

Parameters

pszText

The text of the menu, which may include an ampersand for a short-cut key.

This argument can contain a resource ID string. This will be replaced at run-time by a string loaded from the resource file in the current preferred language, as returned by XllGetStringLanguageID.

pszDescription

Optional description which will appear on the status bar in some versions of Excel.

This argument can contain a resource ID string. This will be replaced at run-time by a string loaded from the resource file in the current preferred language, as returned by XllGetStringLanguageID.

Remarks

Set the menu text and (optionally) description.

Requirements

Header: xlmenu.h

See Also

CXlMenu Class | CXlMenu Methods