FIX: Toolbar Buttons Do Not Appear Correctly at Run-time (180832)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q180832 SYMPTOMS
The toolbar buttons on a Toolbar control do not appear at run-time. With
Visual Basic 5.0, a Toolbar control with buttons on it appears as an empty,
gray band. With Visual Basic 4.0, the Toolbar buttons appear but the
Toolbar is not tall enough to display the captions.
CAUSE
The problem occurs due to a bug in Comctl32.dll version 4.00.950 that ships
with Windows 95.
RESOLUTION
Use an ImageList control to add an image to at least one button, and then
all the buttons display correctly. To resolve this problem, install any newer version of Comctl32.dll. You can download an updated version of Comctl32.dll from the Microsoft Download Center. See the "References" section for more information.
STATUS
This problem has been corrected in later versions of Comctl32.dll.
REFERENCESFor additional information about how download a newer version of Comctl32.ocx, click the article number below
to view the article in the Microsoft Knowledge Base:
167121 FILE: COMCTLZP.EXE: Comctl32.ocx Updated to Version 5.00.3828
NOTE: Versions 3.51 and 4.0 of Comctl32.dll in Windows NT 3.51 and 4.0, respectively, do not exhibit the problem in Visual Basic 5.0.
Modification Type: | Major | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kb32bitOnly kbbug kbCtrl kbfix kbToolbar KB180832 |
---|
|