473,395 Members | 1,680 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 2665

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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.