Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42225

VS 2010 Animation of ProgressBar

$
0
0
I was changed color od ProgressBar but animation disappear. It's my code:
Code:

Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As Integer

Private Sub NumericUpDown1_ValueChanged(sender As System.Object, e As System.EventArgs) Handles NumericUpDown1.ValueChanged
If NumericUpDown1.Value >= 90 Then
    SendMessage(ProgessBar1.Handle, 1040, 2, 0)
End If
End Sub

What can I do to turn on animation?

Viewing all articles
Browse latest Browse all 42225


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>