VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

ColorProgressBars

vViktor  (7 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

This is sample how to made color progressbars using Windows CommonControls and Windows API.

API Declarations
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Integer, ByVal lParam As Any) As Long
Private Const WM_USER = &H400
Private Const CCM_FIRST As Long = &H2000&
Private Const PBM_SETBARCOLOR As Long = (WM_USER + 9)
Private Const CCM_SETBKCOLOR As Long = (CCM_FIRST + 1)
Private Const PBM_SETBKCOLOR As Long = CCM_SETBKCOLOR

Rate ColorProgressBars (5(5 Vote))

Download ColorProgressBars

ColorProgressBars Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters