Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: Change progress bar color 2008-09-05 -- Brett Carnaby The following allows color changes on a progress bar.
MODULE('Windows.DLL')
SendMessage(ULONG hWnd,ULONG uMsg, ULONG wParam, LONG
lParam),LONG,PASCAL,NAME('SendMessageA') ,proc
END
MODULE('COMCTL32.DLL')
InitCommonControls(),PASCAL
END
InitCommonControls()
Select(?Progress:Thermometer)
SendMessage(?Progress:Thermometer{PROP:HANDLE},PBM_SETBARCOLOR,0,65280)
SendMessage(?Progress:Thermometer{PROP:HANDLE},CCM_SETBKCOLOR,0,16777215)
Today is November 21, 2024, 6:28 am This article has been viewed 35252 times.
|
|