| QUOTE (Hectobleezy @ Jun 26 2004, 07:45 PM) |
Thats the power of .net for you. At first I thought it was a bug, but when I loaded transparent png's into the actuall visual studio.net designer. I got the same results. Unfortunatlly, this is how vb.net natively handles transparent images. Ther is code out ther to get it working, but they aint giving it up. Everyone I asked told me to use a 3rd party dll($$$) or to "write your own control". The reason I didnt change it is cuz even though that part sucks, the bennifets outweight the bads. I can do soooo much more with the native "picturebox".
This issue is #1 on my list. Always has been. Thats the one thing thats sucks about UXA. I might just give in and "buy" the damn the 3rd party dll. (the one that works/designed for .net) |
I see. I had problem with transparent PNG's in VB6 too. I used a picturebox for the main 'screen', and each 'object' inside it was a windowless (aka lightweight) control. I think they got rid of all lightweight controls in .NET, the biggest reason I couldn't convert skinner to .NET.
Lightweight controls were the only way to get transparency (sort of) in VB6, AFAIK. Either that, or drawing everything directly to the picturebox, which I didn't want to do.
In the end, to solve the PNG issue, I made a small control, using PNGlib. It dispalys the transparency fine, but works quite slow. And it doesn't 'resize' pics, just cuts them off when you resize, but I think that can be fixed.
Anyway, if you want to have a look at the prog, drop me a PM