Retrieves the anchor highlight setting for a toolbar. Retrieves the zero-based index for the button associated with the specified command identifier.ĭisplays the Customize Toolbar dialog box.Įnables or disables the specified button in a toolbar. Specifies the size of the TBBUTTON structure.Ĭhanges the bitmap for a button in a toolbar.Ĭhecks or unchecks a given button in a toolbar. Retrieves a count of the buttons currently in the toolbar. For examples, see Using Toolbar Controls.Īdds one or more images to the list of button images available for a toolbar.Īdds a new string to the toolbar's string pool. This function is deprecated, because it does not support all features of toolbars. This topic contains implementation details and example code for using toolbar controls in your applications.Ĭreates a toolbar window and adds the specified buttons to the toolbar. Typically, the buttons in a toolbar correspond to items in the application's menu, providing an additional and more direct way for the user to access an application's commands.
Each button, when clicked by a user, sends a command message to the parent window. Overviews TopicĪ toolbar is a control that contains one or more buttons. This section contains information about the programming elements used with toolbar controls.