Export (0) Print
Expand All
Expand Minimize

TB_CHANGEBITMAP message

Changes the bitmap for a button in a toolbar.

Parameters

wParam

Command identifier of the button that is to receive a new bitmap.

lParam

Zero-based index of an image in the toolbar's image list. The system displays the specified image in the button. Set this parameter to I_IMAGECALLBACK, and the toolbar will send the TBN_GETDISPINFO notification to retrieve the image index when it is needed.

Version 5.81. Set this parameter to I_IMAGENONE to indicate that the button does not have an image. The button layout will not include any space for a bitmap, only text.

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft