🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #239

Re: toolbar image quality... :(

#239
From: mohit
Date: Thu, 31 Aug 2006 20:31
29 lines
1879 bytes
thanks horst, got a dojy way to  fix it but after each 		Application.EnableVisualStyles();
do 
	Application.DoEvents();

And it works fine.... lol
Thanks again



"Horst Reichert" <horst.reichert@rt-science.de> wrote:
>The major problem is that the standard toolbar button images do not support 
>transparency (even with VS-Studio 2005). Thus fancy drop down shadows etc., 
>that make normal application icons so nice looking, will display as ugly 
>dark grey borders. Thus be sure that designing your bitmaps for tool buttons 
>do produce them without XP-Transparency. When creating the image list, you 
>should modify the ColorDepth to Dpth32Bit or Depth24Bit before adding the 
>images.
>
>I hope your design will improve with these hints.
>
>I also hope that someday transparent XP-bitmaps will be displayed correctly 
>with the standard toolbar buttons.
>
>
>
>Regards Horst
>
>
Technical Details
Message-ID: <44f7471d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44ecff90$1@newsgroups.borland.com> <44ed5226@newsgroups.borland.com> <44ee0370$1@newsgroups.borland.com> <44eea3a2$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,76836a9c4bc9e944
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "mohit" <mraghav@rediffmail.com>
Sender: "mohit" <mraghav@rediffmail.com>
Reply-To: "mohit" <mraghav@rediffmail.com>
Subject: Re: toolbar image quality... :( 
Newsgroups: borland.public.delphi.winforms.controls.using
X-User-Info: 203.110.30.194     
References: <44ecff90$1@newsgroups.borland.com> <44ed5226@newsgroups.borland.com> <44ee0370$1@newsgroups.borland.com> <44eea3a2$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <44f7471d$1@newsgroups.borland.com>
Date: 31 Aug 2006 13:31:25 -0700
X-Trace: newsgroups.borland.com 1157056285 207.105.83.66 (31 Aug 2006 13:31:25 -0700)
Lines: 30
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail