ChangeToolbarExButton

www.progui.co.uk  Top  Previous  Next

ChangeToolbarExButton()

Syntax

Success = ChangeToolbarExButton(Toolbar.i, ButtonID.l, Text$, *NormalImageID, *HotImageID, *DisabledImageID)

Description

Changes the text and images of the specified button on a ToolBarEx.

Toolbar specifies the WindowsID/ToolbarID of the ToolBarEx.  ButtonID specifies the internal ID of the button you want to select.  Text$ is displayed as the button's label and can contain escape-code effects (see MenuItemEx for details).  NormalImageID, HotImageID and DisabledImageID are pointers to image data that are used to display the button in the various states (Specifying -1 will ignore the parameter and the original image data will be kept).

Returns True if successful, or False otherwise.

 

ToolBarEx Index