Sets the enabled state of a tool button
[C++]
static BOOL EnableTool(
const char* pszToolbarName,
short int nPosition,
bool bEnabled
);
static BOOL EnableTool(
short int nToolbarID,
short int nPosition,
bool bEnabled
);
The name of the toolbar.
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.
The index of the tool within the toolbar.
Sets whether the tool is enabled (true) or disabled (false).
The unique identifier of the toolbar.
Header: xltoolbar.h