472,977 Members | 1,966 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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
2 2639

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Graphics_master | last post by:
Anyone know how to create a transparent splash screen similar to Photoshop, After Effects, or premiere. They have a wonderful transparent look. I realize that I can use the key color property of...
9
by: don | last post by:
I want to create a transparent form and can write something on it by using Ink. I try to set form.backcolor = color.transparent, but it dosen't accept. And everything will be transprent when i use...
3
by: Steve Koon | last post by:
Any thoughts on getting this project to work or suggesting another method would be appreciated. Steve ========================================== Project: A Windows Form which acts as a...
8
by: Grahammer | last post by:
Is it possible to set the background of a usercontrol as transparent? I tried setting the background image of the usercontrol to a transparent GIF, but that caused MAJOR problems. I'm making...
0
by: Henry Wu | last post by:
Hi, I am aware that TransparencyKey only works with top-level forms or Non-MDI Child Forms, if one tries to set the opacity or transparencykey property to a MDI-Child form, it will have no effect....
4
by: jcrouse | last post by:
I am using the following code to move a label on a form at runtime: If myMousedown = lblP1JoyRight.Name Then If lblP1JoyRight.BackColor.Equals(Color.Transparent) Then bTransCk = True ...
2
by: Dean Slindee | last post by:
It appears that I have two routines that don't play well together! First routine: a form's background is shaded with a gradient color. Second routine: then, the background of all labels on the...
1
by: FredC | last post by:
I'm using VS 2003, C#.Net 2003. I built a simple windows form app. with the following attributes: - has a BackgroundImage set to a jpeg I built a very simple user control that contains a...
4
by: ray well | last post by:
in my app i need to make a RichTextbox control transparent. i need it to be a like a pane of glass lying on a sheet of paper, where u can see everything on the sheet of paper not covered by text...
8
by: Brian Ward | last post by:
I am looking for a simple way to set the image transparency in a PictureBox. I have a moving PictureBox containing a graphic image .. moving by incrementing its Left property. The background...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

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.