🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6385

Re: changing the color of a TProgressBar

#6385
From: Bernd Muent
Date: Thu, 12 May 2005 07:27
15 lines
1484 bytes
PaoloItaly schrieb:

>   ::SendMessage(pb->Handle, PBM_SETBARCOLOR, 0, clTeal);

Ist there a way to change the background color as well?

According to
http://www.visualbasicforum.com/t53856.html
I tried:
::SendMessage(pb->Handle, PBM_SETBACKCOLOR, 0, clTeal);

but PBM_SETBACKCOLOR is not a valid message.
Neither with goolge nor with MSDN I found out the right type of message.

B.
Technical Details
Message-ID: <42830561@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeed.kamp.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4280d305@newsgroups.borland.com> <4280da1b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,74e86ce35584c760
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 12 May 2005 09:27:30 +0200
From: Bernd Muent <kontakt@bmservices.de>
Organization: euroscript Deutschland GmbH
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: de-DE, de, en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: changing the color of a TProgressBar
References: <4280d305@newsgroups.borland.com> <4280da1b@newsgroups.borland.com>
In-Reply-To: <4280da1b@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.145.19.66
Message-ID: <42830561@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115882849 62.145.19.66 (12 May 2005 00:27:29 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeed.kamp.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail