BUG: eVB - TabStrip Mouse Events May Not Fire (264013)



The information in this article applies to:

  • Microsoft eMbedded Visual Basic 3.0

This article was previously published under Q264013

SYMPTOMS

When you click on a tab in a TabStrip control, the MouseDown, MouseMove, and MouseUp events may not fire.

This problem does not occur in emulation.

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. Open Microsoft eMbedded Visual Basic 3.0.
  2. Create a new Windows CE for the Pocket PC project. Form1 is created by default.
  3. From the Project menu, click to choose Components, and then select the "Microsoft CE TabStrip Control."
  4. Add a TabStrip control and a ListBox control to Form1.
  5. Right-click the TabStrip control and choose the Properties menu item.
  6. Add one or two tabs to the control and click OK.
  7. Paste the following code into Form1:
    Option Explicit
    
    Private Sub TabStrip1_MouseDown(ByVal Button As Long, _
       ByVal Shift As Long, ByVal X As Single, ByVal Y As Single)
       List1.AddItem "mousedown"
    End Sub
    
    Private Sub TabStrip1_MouseMove(ByVal Button As Long, _
       ByVal Shift As Long, ByVal X As Single, ByVal Y As Single)
       List1.AddItem "mousemove"
    End Sub
    
    Private Sub TabStrip1_MouseUp(ByVal Button As Long, _
       ByVal Shift As Long, ByVal X As Single, ByVal Y As Single)
       List1.AddItem "mouseup"
    End Sub
    					
  8. Run the project, and note that the mouse events do not fire when a tab is pressed.

Modification Type:MajorLast Reviewed:10/15/2002
Keywords:kbBug kbDSupport kbTabCtrl KB264013