PyCToolBarCtrl.PressButton

PressButton(nID, bEnable)

Mark or unmark the specified button as pressed.

Parameters

nID : int

ID of the button to mark.

bEnable=1 : int

1 to mark, 0 to unmark.

MFC References

CToolBarCtrl::PressButton