PyCToolBarCtrl.CreateWindow

CreateWindow(style, rect, parent, id)

Creates the window for a new toolbar object

Parameters

style : int

The style for the button. Use any of the win32con.BS_* constants.

rect : (left, top, right, bottom)

The size and position of the button.

parent : PyCWnd

The parent window of the button. Usually a PyCDialog.

id : int

The buttons control ID.

MFC References

CToolBarCtrl::Create