README.md

December 4, 2022 ยท View on GitHub

ColorProgressBars

Description

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

More Info

Submitted On2003-10-17 21:01:20
ByvViktor
LevelIntermediate
User Rating5.0 (20 globes from 4 users)
CompatibilityVB 5.0, VB 6.0
CategoryWindows API Call/ Explanation
WorldVisual Basic
Archive FileColorProgr16600210172003.zip

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