PyCToolBarCtrl.EnableButton

EnableButton(nID, bEnable)

Enable or disable a toolbar control button.

Parameters

nID : int

ID of the button to enable or disable.

bEnable=1 : int

1 to enable, 0 to disable

MFC References

CToolBarCtrl::EnableButton