FIX: Stack Fault When Move Makes Combo Box Width Too SmallLast reviewed: October 30, 1997Article ID: Q95830 |
1.00 2.00 3.00
WINDOWS
kbenv kbbuglist
The information in this article applies to: - Standard and Professional Editions of Microsoft Visual Basic for Windows, versions 2.0 and 3.0- Microsoft Visual Basic programming system for Windows, version 1.0
SYMPTOMSA Stack Fault results if a Move method changes the Width property of a combo box containing two to eight items to a small value. The optional third parameter to the Move method changes the width property of the control to which the method applies. Applying the method to the combo box with a third parameter of less then 240 when the scale mode is set to twips, produces a Stack Fault Application Error halting the execution of your application.
WORKAROUNDChanging the Width property, by using the Move method or by setting the property directly, to a value as small as 240 practically eliminates the functionality of the control. At this width, the combo box is barely wide enough to view the drop-down button. Hence no entries in the combo box are visible to the user. If want your application to move the control to a position where the user can not view the control at that instant, use one of these techniques:
outside the visible region of the Form. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem has been corrected in Visual Basic version 4.0.
MORE INFORMATIONThe Application Error dialog box indicates that Visual Basic caused the Stack Fault in USER.EXE. However the address differs depending on the version of Visual Basic. In version 2.00, the address is 0007:0CA3. In version 1.00, the address is 0001:707A.
Steps to Reproduce Problem
|
Additional reference words: buglist1.00 buglist2.00 buglist3.00 fixlist4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |