Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am using an image file as the background of my form, and I want to set one of the colors to be transparent. I tried using the transparency key, but this didn't work. The yellow that I used (made sure it was FFFF00 in both the image and the trans. key) was not transparent.

However, when I switched Windows' color quality to 16 bit rather than 32 bit, it worked just fine. Is there any way I can get the transparency to work in 32 bit color?

  • 3 weeks later...
Posted

Doesn't work for me, either :(

 

I'm also having a problem with transparencies. I got it to work when I changed my display to 16 Bit from 32 (running XP pro). It did a really bad job with drop shadows, too. I tried .BMP, .GIF, .JPG, and .PNG but nothing helped.

 

I can't have users switching displays just to view this app. Any thoughts on how to fix or work around this issue? I can('t) believe Microsoft didn't think this through...

 

Thanks!

Greg

 

greg1205-=removeb4sending=-@yahoo.com

Posted

Yes there is a fix to this problem so it will work in 32 but it creates another problem�

 

Once you get it to work (look up my other thread on this for a link to the fix) everything BLACK on/In text controls will be transparent. Say you have a listbox full of text (BLACK TEXT) you will be able to see through the text, see through the little black arrows on the scroll bars, and see through the borders according to the kind of borders you have set. Of coarse you can change the text to a color other than black and change the borders. If you have a scrollBar you can still see through the little arrows on it.

 

I worked on this for a long time trying to make it work but there is too any problems in doing so.

 

I finally gave up on it until the next version comes out. Save yourself some time and use regular forms. But, if your like me you have to learn for yourself. If you do figure out how to keep blacks on/in text controls (this includes combo boxes also) from being transparent, please post and let me know.

 

Good Luck,

 

Mark

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...