Partager via


TB_SETBUTTONINFO

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

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.

Requirements

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

See Also

Toolbar Controls Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.