Construction Methods
Method | Description |
---|---|
CToolBar | Constructs a CToolBar object. |
Create | Creates the Windows CE toolbar and attaches it to the CToolBar object. |
CreateEx | Creates a CToolBar object with additional styles for the embedded CToolBarCtrl object. |
SetSizes | Sets the sizes of buttons and their bitmaps. |
SetHeight | Sets the height of the toolbar. |
LoadToolBar | Loads a toolbar resource created with the resource editor. |
LoadBitmap | Loads the bitmap containing bitmap-button images. |
SetBitmap | Sets a bitmapped image. |
SetButtons | Sets button styles and an index of button images within the bitmap. |
Attributes Methods
Method | Description |
---|---|
CommandToIndex | Returns the index of a button with the specified command identifier. |
GetItemID | Returns the command identifier of a button or separator at the specified index. |
GetItemRect | Retrieves the display rectangle for the item at the specified index. |
GetButtonStyle | Retrieves the style for a button. |
SetButtonStyle | Sets the style for a button. |
GetButtonInfo | Retrieves the identifier, style, and image number of a button. |
SetButtonInfo | Sets the identifier, style, and image number of a button. |
GetButtonText | Retrieves the text that will appear on a button. |
SetButtonText | Sets the text that will appear on a button. |
GetToolBarCtrl | Allows direct access to the underlying common control. |