PRB: Appearance of ComboBox Control Is Always Three-Dimensional (145620)



The information in this article applies to:

  • Microsoft Visual Basic Learning Edition for Windows 6.0
  • Microsoft Visual Basic Learning Edition for Windows 5.0
  • Microsoft Visual Basic Professional Edition for Windows 6.0
  • Microsoft Visual Basic Professional Edition for Windows 5.0
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0
  • Microsoft Visual Basic Enterprise Edition for Windows 5.0
  • Microsoft Visual Basic Control Creation Edition for Windows 5.0
  • Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
  • Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
  • Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0

This article was previously published under Q145620

SYMPTOMS

The ComboBox control can only be displayed with a three-dimensional (3-D) appearance, regardless of the value of the Appearance property.

This problem does not occur in Visual Basic, 16-bit, version 4.0.

RESOLUTION

There is no known workaround.

STATUS

This is a Windows 32-bit limitation.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new Visual Basic Standard EXE project. Form1 is created by default.
  2. Add a ComboBox control, Combo1, of any style, to Form1.
  3. Set the Appearance property of Combo1 to 0 - Flat. In design and run mode, the appearance of the control remains 3-D.

Modification Type:MajorLast Reviewed:5/7/2003
Keywords:kbComboBox kbControl kbCtrl kbprb KB145620