467,864 Members | 1,979 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,864 developers. It's quick & easy.

Transparent Form

Okay, here is what I have, I designed a GUI that has rounded edges at the top
(left and right). I want them to be transparent (Like Windows XP is when you
have the Luna themes enabled).

The only problem is... well, it's not working.

I've tried everything I know, save the PNG with transparency, and saving as
a BMP and making it the form background then making the transparent key the
background color.. I did get it to work once, when I set the transparency
key to BLACK.. that made it so that it worked right, the only problem was the
controltext, etc was all transparent... so really, that didnt work.

I want it also so that when you move the form around, the transparent places
dont stay static to what was in the background before you moved it... A
perfect example of this is well, a normal sized window in Windows XP with
luna styles enables.. move it around, notice how the top edges are curved and
are transparent.
Please help. Contact me at 'thowle at elwoh dot com' if you wish.

Thanks,
Travis
Nov 21 '05 #1
  • viewed: 2444
Share:
2 Replies

thowle wrote:
Okay, here is what I have, I designed a GUI that has rounded edges at the top (left and right). I want them to be transparent (Like Windows XP is when you have the Luna themes enabled).


Creating Nonrectangular Windows Forms:

<http://msdn.microsoft.com/library/en-us/vbcon/html/vbtskCreatingNon-StandardShapedWindowsForms.asp>

Never done it myself, mind.

--
Larry Lard
Replies to group please

Nov 21 '05 #2
one thing I have heard is that if you use True Color in Windows, it doesn't
work.... only works on 256 colors or something.
try this and see. I did change mine to 256 colors and it worked.

Shane

"thowle" <th****@brtc.net> wrote in message
news:3A**********************************@microsof t.com...
Okay, here is what I have, I designed a GUI that has rounded edges at the top (left and right). I want them to be transparent (Like Windows XP is when you have the Luna themes enabled).

The only problem is... well, it's not working.

I've tried everything I know, save the PNG with transparency, and saving as a BMP and making it the form background then making the transparent key the background color.. I did get it to work once, when I set the transparency
key to BLACK.. that made it so that it worked right, the only problem was the controltext, etc was all transparent... so really, that didnt work.

I want it also so that when you move the form around, the transparent places dont stay static to what was in the background before you moved it... A
perfect example of this is well, a normal sized window in Windows XP with
luna styles enables.. move it around, notice how the top edges are curved and are transparent.
Please help. Contact me at 'thowle at elwoh dot com' if you wish.

Thanks,
Travis

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Graphics_master | last post: by
9 posts views Thread by don | last post: by
3 posts views Thread by Steve Koon | last post: by
8 posts views Thread by Grahammer | last post: by
4 posts views Thread by jcrouse | last post: by
1 post views Thread by FredC | last post: by
8 posts views Thread by Brian Ward | last post: by
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.