int = InsertButton(nID, button
)
Insert a button in a toolbar control.
Parameters
nID : int
Zero-based index of a button. This function inserts the new button to the left of
this button.button : PyCToolBarCtrl::TBBUTTON
Bitmap containing button to be insertedComments
The image and/or string whose index you provide must have
previously been added to the toolbar control's list using
PyCToolBarCtrl::AddBitmap, PyCToolBarCtrl::AddString
,
and/or PyCToolBarCtrl::AddStrings.
MFC References
CToolBarCtrl::InsertButton