TB_GETBITMAP

The TB_GETBITMAP message retrieves the index of the bitmap associated with a button in a toolbar.

TB_GETBITMAP

wParam = (WPARAM) idButton;

lParam = 0;

Parameters

idButton

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

Return Values

If successful, the message returns the index of the bitmap. If unsuccessful, it returns zero.