C++ Builder Transparent Graphics!
-
I'm working in C++ Builder and I have a round LED image that I would like to use. However Builder does not seem to accept transparent sections of the graphic and so the image appears as though it has white corners. Any thoughts on how I could get this to display as an image with a transparent background? I tried loading the image through imagelist and then set the transparent property to the white section and this worked except that the graphic then did not look like the nice quality that it use to? Any thoughts would be greatfull. Debs*
-
I'm working in C++ Builder and I have a round LED image that I would like to use. However Builder does not seem to accept transparent sections of the graphic and so the image appears as though it has white corners. Any thoughts on how I could get this to display as an image with a transparent background? I tried loading the image through imagelist and then set the transparent property to the white section and this worked except that the graphic then did not look like the nice quality that it use to? Any thoughts would be greatfull. Debs*
-
When I set TImage Transparent property to true. The part of the image that becomes transparent is not a clean cut and looks very pixelly. I believe I have to use bmp image for this transparent property to work and even with a high quality bmp I can't seem to get it to be clean transparent cut. Any other thoughts? Deborah
-
When I set TImage Transparent property to true. The part of the image that becomes transparent is not a clean cut and looks very pixelly. I believe I have to use bmp image for this transparent property to work and even with a high quality bmp I can't seem to get it to be clean transparent cut. Any other thoughts? Deborah
That's one of the reasons I'm gradually moving from C++Builder to C++/CLI. I couldn't find any free controls (at least for BCB 5) that would give me proper alpha transparency.
-
That's one of the reasons I'm gradually moving from C++Builder to C++/CLI. I couldn't find any free controls (at least for BCB 5) that would give me proper alpha transparency.
-
Excuss my ignorance but what is C++/CLI? How are you finding the transition?? Do you have a link to more info on C++/CLI?
It always amazes me how people will post messages to a forum without even bothering to see which forum they're posting in! (That's a hint: you posted your original message here in the C++/CLI forum.) I guess people just see the first three letters of the forum's name and don't bother to read the rest (I wish CP had a smiley that was less intense than :mad:, but more intense than :rolleyes:. Maybe a little guy looking annoyed with a bit of steam coming out of his ears.) Anyway, now that I've had my rant -- C++/CLI is Microsoft's slightly-modified version of C++ that works with their .NET framework. Here's a good introductory article: http://www.codeproject.com/managedcpp/cppcliintro01.asp[^]