Assigns a macro to a tool button
[C++]
static BOOL AssignToTool(
const char* pszToolbarName,
short int nPosition,
const char* pszMacro
);
static BOOL AssignToTool(
short int nToolbarID,
short int nPosition,
const char* pszMacro
);
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.
The name of the macro function which will be run when the button is pushed.
The unique identifier of the toolbar.
Header: xltoolbar.h