Thanks for the update!  Sadly, most of your problems seem to be win32 related.  
Windows ought to be able to handle image transparency better but evidently this 
set of components may not have used windows hooks but tried to write their own?

Tom Nesler


-----Original Message-----
From: delphi-boun...@elists.org [mailto:delphi-boun...@elists.org] On Behalf Of 
Chuck Belanger
Sent: Monday, August 20, 2012 5:03 PM
To: Moderated List for the Discussion of Delphi Programming excluding 
Database-related topics
Subject: Re: Weird screen painting issues after D2007 to XE2 upgrade.

On 8/18/2012 12:50 PM, Chuck Belanger wrote:
> Still having black background icons come out as black and not
> transparent at runtime.
>
> Any property setting that would do this? It has got to be something
> simple!
Ok, at least I know what is causing this problem, but it looks like I
will be posting to the CnPack forum. CnPack is an Delphi IDE enhancement
package.

In the upgrading of the D2007 program, one TImageList set of images
(135) got mangled. CnPack has a very neat GUI for the image list that
allows one to directly search the internet for public domain icons that
one can then directly add to the imagelist.

  The only way to show transparency for this particular imagelist was to
use the "Use XP Style..." checkbox, but like I said that only works in
design time. At run time, the black background shows up. I did manage to
export the 135 images which in the process converted the background from
black to white which, although still not transparent, is much easier on
the eye than black.

For any readers, use of the XP Style causes other image lists to have a
black background, but for these other lists, they were transparent (at
run time) without the XP Style.

Chuck
_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to