Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

When I have a form that is shaped by a picture , and also tranceparent Color (red) , if I set Opacity less than 100% , the tranceparent color dose not take effect any more , and the form shows that , any idea?

 

Thanks

  • *Experts*
Posted

It is likely that this is a video card issue, because this does not happen on my computer. The only solution I can suggest is to use an actual Form Region (you can set the Region property of the form) to shape the form, rather than just using the TransparancyKey property, which I believe uses another method (layered windows, perhaps).

 

Look at the MSDN for the System.Drawing.Region class.

Posted

The problem is on background picture

 

Thank you , but the real problem is , when you transparent one of the background image colors , after you set opacity of the form less than 100 , that color is not transparent any more

  • *Experts*
Posted
I know. I'm suggesting that rather than letting the TransparencyKey property handle the shaping of the form, you use Regions to shape it manually. You shouldn't have any problems them.

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...