S
Silvio
Hello, I am working on creating special effects (raised) when the mouse move
over a control. I am able to create such effect and remove it when moving
away, however the problem I am having is that if move the control next to
each other (no space in between the control) the special effect engage but do
not resent once I move over the next control on the right or left (once a
move the mouse around will slowly reset). For clarity I am replicating
OnMouseMove effects like the own you can observe in Internet Explorer menu
bar.
This is what I have for the control:
Private Sub imgRefresh_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
Me.imgRefresh.SpecialEffect = 1
End Sub
This is what I have in the form header OnMouseMove to remove the special
effect:
Private Sub FormHeader_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
If Me.imgRefresh.SpecialEffect = 1 Then
Me.imgRefresh.SpecialEffect = 0
End If
End Sub
Any Idea how I can handle this annoying reset delay?
Thank you,
Silvio
over a control. I am able to create such effect and remove it when moving
away, however the problem I am having is that if move the control next to
each other (no space in between the control) the special effect engage but do
not resent once I move over the next control on the right or left (once a
move the mouse around will slowly reset). For clarity I am replicating
OnMouseMove effects like the own you can observe in Internet Explorer menu
bar.
This is what I have for the control:
Private Sub imgRefresh_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
Me.imgRefresh.SpecialEffect = 1
End Sub
This is what I have in the form header OnMouseMove to remove the special
effect:
Private Sub FormHeader_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
If Me.imgRefresh.SpecialEffect = 1 Then
Me.imgRefresh.SpecialEffect = 0
End If
End Sub
Any Idea how I can handle this annoying reset delay?
Thank you,
Silvio