Article View: borland.public.cppbuilder.nativeapi
Article #6387Re: changing the color of a TProgressBar
From: Bernd Muent
Date: Thu, 12 May 2005 11:31
Date: Thu, 12 May 2005 11:31
13 lines
1647 bytes
1647 bytes
PaoloItaly schrieb: > PBM_SETBKCOLOR, but not tested Now the constant is obviously defined, because I was able to compile it. But it has no effect: ::SendMessage(progressWindow->pProgressBar->Handle,PBM_SETBARCOLOR,0x000000FF,0x000000FF); ::SendMessage(progressWindow->pProgressBar->Handle,PBM_SETBKCOLOR,0x00FFFFFF,0x00FFFFFF); The result is a control with a red progress bar (fine!), but the background is still gray :-( B.
Technical Details
Message-ID:
<42833e80@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!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>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 13:31:12 +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> In-Reply-To: <4283362b@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: <42833e80@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1115897472 62.145.19.66 (12 May 2005 04:31:12 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail