Share via


TB_CHANGEBITMAP

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message changes the bitmap for a button in a toolbar.

Syntax

TB_CHANGEBITMAP wParam = (WPARAM) idButton; 
    lParam = (LPARAM)MAKELPARAM(iBitmap,0); 

Parameters

  • idButton
    Command identifier of the button that is to receive a new bitmap.
  • iBitmap
    Zero-based index of an image in the toolbar's image list. The system displays the specified image in the button.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later