PyCToolBar Object
A class which encapsulates an MFC CToolBar . Derived from a PyCControlBar object.
Methods
- GetButtonStyle
- Retrieves the style for a button.
- GetButtonText
- Gets the text for a button.
- GetItemID
- Returns the command ID of a button or separator at the given index.
- SetButtonInfo
- Gets the associated tooltip control
- GetToolBarCtrl
- Returns the tool bar control object associated with the tool bar
- LoadBitmap
- Loads the bitmap containing bitmap-button images.
- LoadToolBar
- Loads a toolbar from a Toolbar resource.
- SetBarStyle
- Sets toolbar's (CBRS_xxx) part of style
- SetBitmap
- Sets a bitmapped image.
- SetButtonInfo
- Sets the button's command ID, style, and image number.
- SetButtons
- Sets button styles and an index of button images within the bitmap.
- SetButtonStyle
- Sets the style for a button
- SetHeight
- Sets the height of the toolbar.
- SetSizes
- Sets the sizes for the toolbar items.
- SetButtonInfo
- Sets the tooltips control