471,627 Members | 1,716 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

Non Rectangular

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
Dec 6 '05 #1
2 1123
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.
--
HTH
Stoitcho Goutsev (100) [C# MVP]

"Just close your eyes and see"
<Ju*********************@discussions.microsoft.com > wrote in message
news:04**********************************@microsof t.com...
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

Dec 6 '05 #2
Hi,

Take a look at http://www.thescarms.com/dotNet/IrregularForm.asp

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Just close your eyes and see"
<Ju*********************@discussions.microsoft.com > wrote in message
news:04**********************************@microsof t.com...
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

Dec 7 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Arvinder Channey | last post: by
2 posts views Thread by Grzesiek | last post: by
2 posts views Thread by Nikhil Patel | last post: by
1 post views Thread by Tony Reynolds | last post: by
5 posts views Thread by dln | last post: by
5 posts views Thread by Tiraman | last post: by
3 posts views Thread by dsvagelj | last post: by
1 post views Thread by xllx.relient.xllx | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.