DOC: Missing Styles for CToolbar::SetButtonStyles
Article ID: 190486
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Foundation Class Library 4.2, when used with:
- Microsoft Visual C++ 6.0 Enterprise Edition
- Microsoft Visual C++ 6.0 Professional Edition
- Microsoft Visual C++ 6.0 Standard Edition
This article was previously published under Q190486
SUMMARY
The documentation for CToolBar::SetButtonStyle includes the following
styles: TBBS_BUTTON, TBBS_SEPARATOR, TBBS_CHECKBOX, TBBS_GROUP, and,
TBBS_CHECKGROUP.
The following styles are missing: TBBS_DROPDOWN, TBBS_AUTOSIZE,
TBBS_NOPREFIX.
MORE INFORMATION
Following is the information for the missing styles:
TBBS_DROPDOWN
Creates a drop-down list button.
TBBS_AUTOSIZE
The button's width is calculated based on the text of the button, not on
the size of the image.
TBBS_NOPREFIX
The button text does not have an accelerator prefix associated with it.
NOTE: CToolBar uses the underlying CToolBarCtrl common control. These
styles have the same effect for CToolBar as the TBSTYLE flags have for the
toolbar common control. More information about these styles can be found in
the toolbar common control documentation.
(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Yeong-
Kah Tam, Microsoft Corporation.
Additional query words: kbdocerr kbvc600
Keywords: kbbug kbdocerr kbpending kbref KB190486