Microsoft KB Archive/180391

= PRB: ScrollBars Appear Incorrectly in Run-Mode =

Article ID: 180391

Article Last Modified on 3/11/2005

-

APPLIES TO


 * Microsoft eMbedded Visual Basic 3.0
 * Microsoft Windows CE Toolkit for Visual Basic 5.0

-



This article was previously published under Q180391



SYMPTOMS
When you place a horizontal or vertical ScrollBar on a form and make it small, the ScrollBar may either appear or not appear with arrows, depending on the size of the control and the device that is targeted.



STATUS
This behavior is by design.



MORE INFORMATION
This behavior occurs because of the way that Windows CE handles the painting of the control.

Steps to Reproduce Behavior
 Create a new Windows CE project in eMbedded Visual Basic or Visual Basic 6.0. Form1 is created by default. Add a Vertical ScrollBar to Form1.  Add the following code to Form1: Private Sub Form_Load VScroll1.Height = 450 End Sub  Press F5 to run the project, and note that no arrows appear in the ScrollBar.  Change the code above to read: Private Sub Form_Load VScroll1.Height = 250 End Sub  Press F5 to run the project, and note that the ScrollBar is longer drawn on the form.</li></ol>

Additional query words: wince vbce vbce5 vbce6 evb

Keywords: kbtoolkit kbprb kbpending KB180391

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.