TB_SETBUTTONINFO

This message sets the information for an existing button in a toolbar.

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later

Syntax

  1. TB_SETBUTTONINFO wParam = (WPARAM)(INT) iID;
    lParam = (LPARAM)(LPTBBUTTONINFO) lptbbi;

Parameters

iID

Button identifier.

lptbbi

Long pointer to a TBBUTTONINFO structure that contains the new button information. The cbSize and dwMask members of this structure must be filled in prior to sending this message.

Return Values

Nonzero indicates success. Zero indicates otherwise.