invoke SendMessage, toolbar handle, TB_ENABLEBUTTON, button comand identifier, TRUE/FALSE
if you need to disable the button when the toolbar is created. use 0 instead of TBSTATE_ENABLED.
invoke SendMessage, toolbar handle, TB_ENABLEBUTTON, button comand identifier, TRUE/FALSE