BUG: Stack Fault When Move Sets Tiny Width in 2-Item Combo Box (95197)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q95197 SYMPTOMS
An Application Error saying that Visual Basic caused a stack fault occurs
when you click the down arrow of a combo box if the combo box contains two
items and you set the Width property of the combo box to less than 378 from
within a Move method. The number it takes to cause the problem depends on
your current video mode. This example uses a 1224 by 768 driver. The lower
your resolution, the higher the number must be to prevent the Application
Error.
WORKAROUND
To work around this problem, set the width of the combo box to 377 in
design mode, and don't set it from within a Move method. As another
alternative, you can remove one of the two items in the Combo Box.
STATUS
Microsoft has confirmed this to be a bug in Visual Basic versions 2.0
and 3.0 for Windows. We are researching this problem and will post new
information here in the Microsoft Knowledge Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | kbbug KB95197 |
---|
|