WinXToolbar_EnableButton


WinXToolbar_EnableButton (hToolbar, iButton, enable)

Enables or disables a toolbar button

Parameter Description
hToolbar The handle to the toolbar in which the button resides
iButton The unique id constant of the button
enable $$TRUE to enable the button, $$FALSE to disable it

Returns

$$TRUE on success or $$FALSE on fail

Remarks

When a button is disabled, the disabled version of it's image is displayed and the user cannot click it.

Examples

none

Related Links

WinXToolbar_AddButton
WinXToolbar_AddToggleButton