VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



ColorProgressBars

by vViktor (7 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

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

Download ColorProgressBars

Download ColorProgressBars (2 KB)

ColorProgressBars Comments

No comments have been posted about ColorProgressBars. Why not be the first to post a comment about ColorProgressBars.

Post your comment

Subject:
Message:
0/1000 characters