Article ID: 192003
Article Last Modified on 5/13/2003
Option Explicit
Private Sub UserControl_Initialize()
UserControl.BackStyle = 0 'Transparent
Shape1.BackStyle = 1 'Opaque
End Sub
Private Sub UserControl_MouseMove(Button As Integer, Shift As _
Integer, X As Single, Y As Single)
Debug.Print "UserControl: Mouse Move"
End Sub
Public Sub Refresh()
Shape1.Refresh
End Sub
Private Sub Timer1_Timer()
Debug.Print "Timer: Is mouse moving?"
UserControl11.Refresh
End Sub
Private Sub UserControl_MouseMove(Button As Integer, Shift As _
Integer, X As Single, Y As Single)
Static mX As Single, mY As Single
If mX <> X Or mY <> Y Then
Debug.Print "UserControl: Mouse Move"
mX = X
mY = Y
End If
End Sub
Additional query words: kbDSupport kbDSD extra kbVBp kbCtrl kbVBp600bug kbVBp500bug
Keywords: kbbug KB192003