XLL+ Class Library (7.0)

CXlMenu::SetTexts

Sets the menu text and (optionally) description

void SetTexts(
   const TCHAR* pszText,
   const TCHAR* 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