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 2 2683
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/vbtskCreatingNo n-StandardShapedW indowsForms.asp >
Never done it myself, mind.
--
Larry Lard
Replies to group please
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.ne t> wrote in message
news:3A******** *************** ***********@mic rosoft.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 a form to make colors
transparent, but I'm not satisfied with aliased edges. I want full 256 color
alpha support. I see that the png format has nice transparent support but
the form shows through. Forms don't support a transparent background...
|
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 Opacity.
Finally, i try to use transparencykey, but any mouse actions will be
transferred to the windows below the transparent area.
Any solutions? thx
|
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 Whiteboard. The Form contains 3
|
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 some controls that aren't rectangular and it won't be pretty if I
end up with a grey rectangle behind each one.
http://msdn.microsoft.com/library/en-us/vbcon/html/vbtskGivingYourControlTransparentBackground.asp?frame=true
|
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.
So, I tricked my Transparent Non-MDI Child form into my MDI-Container
form via SetParent API as seen here in my VB.NET sample (
http://wuhenry.beigetower.org/position.zip ).
I thought my problems are over, but apprently, even though I...
| |
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
lblP1JoyRight.BackColor = clrLabelMove
|
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 form are made
transparent. What results is the label's backcolor appearing as blocks of
'control' colored background. Setting the label's backcolor to
color.transparent does not make it transparent (evidently the text is
repainted with a...
|
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 picture box set to an
icon. The UserControl constructor sets
SetStyle( ControlStyles.SupportTransparentBackColor, true);
this.BackColor = Color.Transparent;
The control does nothing except display the icon.
|
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 written on the
glass pane. i need to be able to see the control or form that is underneath
the RichTextbox, and at the same time to be able to write and erase text to
the RichTextbox.
i'm assuming that it is the backcolor that hides what is...
|
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 however shows white as the PictureBox moves but I want it
to be transparent.
The PictureBox BackColor is set to Transparent .. but no affect. I have
used PhotoShop to make the image background transparent .. again no
affect.
If I make the image a...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |