Non Rectangular

G

Guest

hi all
I was making a non rectangular form in C# using a bitmap with a white
background and set the transparency key property of the form to white and it
works but when I color quality from the system properties to 32bit it didn't
work
is there any way to overcome this
or is there a different method for drawing a non rectangular form using images

thx for your interest
 
S

Stoitcho Goutsev \(100\) [C# MVP]

Hi,

As far as I know this is a bug with .NET 1.x that the transparency key
property works only in 16bit modes. That much I've read and heard. I
personally never have experienced it because I've never used it.

I'd suggest instead of using bitmaps with transparency key to set the form's
Region property to a region describing the geometry your form needs to have.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top