Article View: borland.public.cppbuilder.nativeapi
Article #6389Re: changing the color of a TProgressBar
From: Bernd Muent
Date: Thu, 12 May 2005 12:39
Date: Thu, 12 May 2005 12:39
20 lines
1864 bytes
1864 bytes
Alan Bellingham schrieb: > Perhaps that's because you are setting the wParam value to a non-zero > value? (The documentation says "= 0; not used, must be zero".) > > OK, probably not, but do set wParam to zero for both and see if it makes > a difference. Who knows - there may be undocumented behaviour happening? Now I tried: ::SendMessage(progressWindow->pProgressBar->Handle,PBM_SETBKCOLOR,NULL,0x000000FF); and ::SendMessage(progressWindow->pProgressBar->Handle,PBM_SETBKCOLOR,0,0x000000FF); Nothing happens :-( > More likely is that comctl32.dll is not version 4.71 or later. It's 5.82 on Windows XP. B.
Technical Details
Message-ID:
<42834e70$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4280d305@newsgroups.borland.com> <4280da1b@newsgroups.borland.com> <42830561@newsgroups.borland.com> <4283362b@newsgroups.borland.com> <42833e80@newsgroups.borland.com> <qmg681lj0pooal6trippp1d171852jdn2l@4ax.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 14:39:13 +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> <42830561@newsgroups.borland.com> <4283362b@newsgroups.borland.com> <42833e80@newsgroups.borland.com> <qmg681lj0pooal6trippp1d171852jdn2l@4ax.com> In-Reply-To: <qmg681lj0pooal6trippp1d171852jdn2l@4ax.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 62.145.19.66 Message-ID: <42834e70$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1115901552 62.145.19.66 (12 May 2005 05:39:12 -0700) Lines: 20 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail