PyCToolBarCtrl Object
A class which encapsulates an MFC CToolBarCtrl . Derived from a PyCWnd object. Created using PyCToolBar::GetToolBarCtrl
Methods
- AddBitmap
- Add one or more button images to the list of button images
- AddButtons
- Add one or more buttons
- AddStrings
- Add one or more strings
- AutoSize
- Resize the entire toolbar
- CheckButton
- Check or clear a button
- CommandToIndex
- Retrieve the zero-based index for the button associated with the specified command identifier.
- CreateWindow
- Create the actual control
- Customize
- Display the customize toolbar dialog box
- DeleteButton
- Delete a button from the toolbar control
- EnableButton
- Enable or disable a toolbar control button.
- GetBitmapFlags
- Retrieve the bitmap flags from the toolbar.
- GetButton
- Retrieve information about the specified button in a toolbar control.
- GetButtonCount
- Retrieve a count of the buttons currently in the toolbar control.
- GetItemRect
- Retrieve the bounding rectangle of a button in a toolbar control.
- GetRows
- Retrieve the number of rows of buttons currently displayed
- HideButton
- Hide or show the specified button in a toolbar control.
- Indeterminate
- Hide or show the specified button in a toolbar control.
- InsertButton
- Insert a button into a toolbar control.
- IsButtonChecked
- See if a button is checked.
- IsButtonEnabled
- See if a button is enabled.
- IsButtonHidden
- See if a button is checked.
- IsButtonIndeterminate
- See if a button is Indeterminate.
- IsButtonPressed
- See if a button is pressed.
- PressButton
- Mark or unmark the specified button as pressed.
- SetBitmapSize
- Set the size of the actual bitmapped images to be added to a toolbar control.
- SetButtonSize
- Set the size of the actual buttons to be added to a toolbar control.
- SetCmdID
- Set the command identifier which will be sent to the owner window when the specified button is pressed.
- SetRows
- Ask the toolbar control to resize itself to the requested number of rows.