![]() ![]() Retrieves the maximum number of text rows that can be displayed on a toolbar button. Retrieves the styles currently in use for a toolbar control. Retrieves a string from a toolbar's string pool. Retrieves information about the state of the specified button in a toolbar, such as whether it is enabled, pressed, or checked. Retrieves the number of rows of buttons in a toolbar with the TBSTYLE_WRAPABLE style. Retrieves the bounding rectangle for a specified toolbar button. Gets the image list that a toolbar control uses to display buttons in a pressed state. Retrieves the padding for a toolbar control. Retrieves the IDropTarget for a toolbar control. Retrieves the metrics of a toolbar control. Retrieves the total size of all of the visible buttons and separators in the toolbar. Retrieves the bounding rectangle of a button in a toolbar. Gets the bounding rectangle of the dropdown window for a toolbar item with style BTNS_DROPDOWN. Retrieves the color used to draw the insertion mark for the toolbar. Retrieves the current insertion mark for the toolbar. Gets the number of image lists associated with the toolbar. A toolbar control uses this image list to display buttons when they are not hot or disabled. Retrieves the image list that a toolbar control uses to display buttons in their default state. Retrieves the index of the hot item in a toolbar. Retrieves the image list that a toolbar control uses to display hot buttons. Retrieves the extended styles for a toolbar control. Retrieves the image list that a toolbar control uses to display inactive buttons. Retrieves the color scheme information from the toolbar control. Retrieves the display text of a button on a toolbar. Retrieves the current width and height of toolbar buttons, in pixels. Retrieves extended information for a button in a toolbar. Retrieves information about the specified button in a toolbar. Retrieves the flags that describe the type of bitmap to be used. Retrieves the index of the bitmap associated with a button in a toolbar. 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. ![]()
0 Comments
Leave a Reply. |