Microsoft Visual Basic .NET 2003: How-to Demo-Non-Rectangular Forms

M

Morx

I downloaded it from Visual Basic at the Movies but there is a problem.

I set up the following properties of the form...

BackroundImage
TransparencyKey = Color that needs to be transparent
FormBorderStyle = None

And it looks like that TransparencyKey color doesn't work.

I set up a bitmap image with green background and red circle in it but when
I set up green as TransparencyKey and when I run the project the form's
background color is still green and it's not transpaerent like I saw in the
demo.

Why is that? I'm using Visual Studio 2003.

Thanks
 
R

Ricky W. Hunt

Morx said:
I downloaded it from Visual Basic at the Movies but there is a problem.

I set up the following properties of the form...

BackroundImage
TransparencyKey = Color that needs to be transparent
FormBorderStyle = None

And it looks like that TransparencyKey color doesn't work.

I set up a bitmap image with green background and red circle in it but when
I set up green as TransparencyKey and when I run the project the form's
background color is still green and it's not transpaerent like I saw in the
demo.

Why is that? I'm using Visual Studio 2003.

There's a bug in that it won't work above 24-bit. Is your monitor set at
32-bit?
 
M

Morx

Ricky W. Hunt said:
There's a bug in that it won't work above 24-bit. Is your monitor set at
32-bit?

Yes, it's 32-bit. I tried it with 16b-bit and it works but that doesn't
help.

Is there a fix for that because I noticed that it doesn't work in VS 2005
BETA 1 also.
 
C

Cor Ligthert

Ricky,

Bug?

I think more a disadvantage because it is known and even described.

(and not a little one, because how can you tell that to a customer)

:)

Cor
 
R

Ricky W. Hunt

Cor Ligthert said:
Ricky,

Bug?

I think more a disadvantage because it is known and even described.

(and not a little one, because how can you tell that to a customer)

I only happened to know about it because, since I'm just learning VB.NET, I
try any new code I happen to come across (this might have been from
something you posted - using text as a form possibly?). I went to all the
trouble of doing it only to find out it won't work above 24-bit (my card
only offers 16 and 32 bit so I'm always at 32-bit). I'd call that a SERIOUS
PROBLEM. I was hoping it was just a bug that would be resolved with the next
version. Sorry to hear it sounds like it won't be.
 

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