TB_DELETEBUTTON (Compact 2013)

3/28/2014

This message deletes the specified button from the toolbar, or deletes the specified menu item from the central menu.

Syntax

TB_DELETEBUTTON
    wParam = (WPARAM) iButton;
    lParam = 0;

Parameters

  • iButton
    Zero-based index of the button or menu item to delete.
  • lParam
    Not used.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header

commctrl.h

See Also

Reference

Toolbar Controls Messages