Assigns a bitmap to a tool button
[C++]
static BOOL SetToolBitmap(
const char* pszToolbarName,
short int nPosition,
const char* pszBitmapFile
);
static BOOL SetToolBitmap(
const char* pszToolbarName,
short int nPosition,
WORD idBitmap
);
static BOOL SetToolBitmap(
short int nToolbarID,
short int nPosition,
const char* pszBitmapFile
);
static BOOL SetToolBitmap(
short int nToolbarID,
short int nPosition,
WORD idBitmap
);
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 full path to a bitmap file.
The resource ID of a bitmap held in the add-ins resource file.
The unique identifier of the toolbar.
Header: xltoolbar.h