Partager via


TB_CHANGEBITMAP

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

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 Values

TRUE indicates success. FALSE indicates failure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.