RemoveToolBarExButton  Top  Previous  Next



Success = RemoveToolbarExButton(Toolbar.i, ButtonID.l, byPosition.b)


Removes a button from a ToolBarEx. If the button is a gadget/control then it will also be hidden and re-parented to the root window.

Toolbar specifies the WindowsID/ToolbarID of the ToolBarEx.  ButtonID specifies the ID or the zero-based index (if byPosition.b = True) of the button you want to remove.

Returns True if successful, or False otherwise.


ToolBarEx Index