BUG: ComboBox Scroll Event Might Not Fire (215448)



The information in this article applies to:

  • Microsoft Windows CE Toolkit for Visual Basic 6.0
  • Microsoft eMbedded Visual C++, Version:4.0

This article was previously published under Q215448

SYMPTOMS

Under certain circumstances (outlined below), the Scroll Event of a ComboBox may not fire.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new Windows CE project in either Visual Basic or eMbedded Visual Basic. Form1 is created by default.
  2. Add a ComboBox to Form1.
  3. Add the following code to Form1:
    Option Explicit
    
    Private Sub Form_Load()
        Dim x
        For x = 1 To 10
            Combo1.AddItem "item: " & x
        Next
    End Sub
    
    Private Sub Combo1_Scroll()
        Form1.Print "scroll"
    End Sub
    						
  4. Run the project.
  5. Click the first item in the ComboBox and drag the mouse (or stylus) down until the ComboBox scrolls. Note that the Scroll Event of the ComboBox does not fire.
  6. Scroll through the ComboBox using the vertical scrollbar. Note that the Scroll Event fires as expected.

Modification Type:MinorLast Reviewed:8/19/2005
Keywords:kbBug kbpending kbToolkit KB215448