win32ui.CreateToolBar

PyCToolBar = CreateToolBar(parent, style , windowId )

Creates a toolbar object.

Parameters

parent : PyCWnd

The parent window for the toolbar.

style : int

The style for the toolbar.

windowId=afxres.AFX_IDW_TOOLBAR : int

The child window ID.

Comments

You must ensure no 2 toolbars share the same ID.