CToolbar.GetBitmapmethod
Retrieves the index of the bitmap associated with a button in a toolbar.
Syntax
FUNCTION GetBitmap (BYVAL hToolbar AS HWND, BYVAL idButton AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
idButton | Command identifier of the button whose bitmap index is to be retrieved. |
Return value
Returns the index of the bitmap if successful, or zero otherwise.
Description
Retrieves the index of the bitmap associated with a button in a toolbar.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:425
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class