VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Change background/foreground color of Progressbar

Juha s�derqvist  (4 Submissions)   Custom Controls/Forms/Menus   Visual Basic 3.0   Advanced   Wed 3rd February 2021

Change background/foreground color of Progressbar.
using SENDMESSAGE/win32API

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

Rate Change background/foreground color of Progressbar (7(7 Vote))
Change background/foreground color of Progressbar.bas

Change background/foreground color of Progressbar Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters