TB_GETBITMAP message

Retrieves the index of the bitmap associated with a button in a toolbar.

Parameters

wParam

Command identifier of the button whose bitmap index is to be retrieved.

lParam

Must be zero.

Return value

Returns the index of the bitmap if successful, or zero otherwise.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h