473,769 Members | 2,441 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Transparent - does it work?

UJ
I've got multiple controls on a win forms page - and I have a panel that I
want the user to be able to click on to have something happen which I have
put on top of some of the control. I make the panel transparent but it
doesn't show what's behind it, it shows the form background.

Is there anyway to have something transparent so it shows what's behind it,
not the form?

What I'm really trying to do is have a shockwave or browser control be able
to be clicked and something happen. I don't want the normal clicking like on
a web site to happen.

Any suggestions?

TIA - Jeff.
Jan 6 '06 #1
4 1735
Jeff,

The same question was asked yesterday or the day before. Jeffrey Tan from
Microsoft has suggsted looking at the following article:
http://addressof.com/blog/articles/282.aspx
--
HTH
Stoitcho Goutsev (100)

"UJ" <fr**@nowhere.c om> wrote in message
news:uV******** *****@TK2MSFTNG P10.phx.gbl...
I've got multiple controls on a win forms page - and I have a panel that I
want the user to be able to click on to have something happen which I have
put on top of some of the control. I make the panel transparent but it
doesn't show what's behind it, it shows the form background.

Is there anyway to have something transparent so it shows what's behind
it, not the form?

What I'm really trying to do is have a shockwave or browser control be
able to be clicked and something happen. I don't want the normal clicking
like on a web site to happen.

Any suggestions?

TIA - Jeff.

Jan 6 '06 #2
Transparency works with respect to the parent. It doesn't work as you might
imagine it would, where .NET actually figures out the z order of everything,
and displays objects based on that.

Since the panel's parent is the form, it just shows the form

"UJ" <fr**@nowhere.c om> wrote in message
news:uV******** *****@TK2MSFTNG P10.phx.gbl...
I've got multiple controls on a win forms page - and I have a panel that I
want the user to be able to click on to have something happen which I have
put on top of some of the control. I make the panel transparent but it
doesn't show what's behind it, it shows the form background.

Is there anyway to have something transparent so it shows what's behind
it, not the form?

What I'm really trying to do is have a shockwave or browser control be
able to be clicked and something happen. I don't want the normal clicking
like on a web site to happen.

Any suggestions?

TIA - Jeff.

Jan 6 '06 #3
UJ
Thanks for the info. But that article appears to work only with static
images/items. I need to make a panel that is transparent to a web
browser/shockwave file that can be changing.

Jeff.

"Stoitcho Goutsev (100) [C# MVP]" <10*@100.com> wrote in message
news:uP******** *****@TK2MSFTNG P10.phx.gbl...
Jeff,

The same question was asked yesterday or the day before. Jeffrey Tan from
Microsoft has suggsted looking at the following article:
http://addressof.com/blog/articles/282.aspx
--
HTH
Stoitcho Goutsev (100)

"UJ" <fr**@nowhere.c om> wrote in message
news:uV******** *****@TK2MSFTNG P10.phx.gbl...
I've got multiple controls on a win forms page - and I have a panel that
I want the user to be able to click on to have something happen which I
have put on top of some of the control. I make the panel transparent but
it doesn't show what's behind it, it shows the form background.

Is there anyway to have something transparent so it shows what's behind
it, not the form?

What I'm really trying to do is have a shockwave or browser control be
able to be clicked and something happen. I don't want the normal clicking
like on a web site to happen.

Any suggestions?

TIA - Jeff.


Jan 6 '06 #4
u can make the form transparent as well and than u will be bale to see whats
behind it
"Marina" <so*****@nospam .com> wrote in message
news:Ou******** ******@TK2MSFTN GP11.phx.gbl...
Transparency works with respect to the parent. It doesn't work as you
might imagine it would, where .NET actually figures out the z order of
everything, and displays objects based on that.

Since the panel's parent is the form, it just shows the form

"UJ" <fr**@nowhere.c om> wrote in message
news:uV******** *****@TK2MSFTNG P10.phx.gbl...
I've got multiple controls on a win forms page - and I have a panel that
I want the user to be able to click on to have something happen which I
have put on top of some of the control. I make the panel transparent but
it doesn't show what's behind it, it shows the form background.

Is there anyway to have something transparent so it shows what's behind
it, not the form?

What I'm really trying to do is have a shockwave or browser control be
able to be clicked and something happen. I don't want the normal clicking
like on a web site to happen.

Any suggestions?

TIA - Jeff.


Jan 7 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
20954
by: jhomp ssens | last post by:
I would like to create a pulldown menu which is semi-transparent....that is, you can see the text and graphics behind it when it is pulled down. The effect I'm looking for can be seen at http://www.countrywide.com. Are there any good tutorials which can show me how to do this with CSS?
4
2037
by: tshad | last post by:
I have some transarent gifs (actually PNG files) that are not working in IE. They work fine in Netscape and Mozilla. In IE the following shows a grey border around the figure (which should be transparent. <asp:ImageButton ID="ExpandButton" runat="server" Font-Size="2" ImageUrl="../images/expand.jpg" Width="16" Height="16" CommandName="Select" AlternateText="Click here to see details"></asp:ImageButton> When I change it to:
3
1408
by: MW de Jager | last post by:
Im trying to place an image on my form, which is transparent in parts like an icon. My page refuses to display the transparent areas in the color of the page background but keeps replacing it with white, causing the image to sit in a white square. Is there something I'm missing here like a property that needs to be set? I've tried Icons, PNG file with transparency and Bitmap with transparency, none seem to work.
8
10610
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
3
5133
by: SStory | last post by:
Is there no way to make a label or link label transparent in vb.net? This is a real pain on about screens with nice graphics where you want your text backgroup to be transparent. I can drawstring most of it--shouldn't have to. But how to do the linklabel I don't know--other than using the control. Ideas? solutions?
4
2071
by: Vincent | last post by:
Hi all, I would like to make a table or a div with a transparent background. The solution found does work only with FireFox using a png image. The second one works with IE and FireFox but make the text inside the div be transparent. Example: http://boxfly.free.fr/test/example.html Is anyone know how to manage to make a table with a transparent
8
2150
by: MikeB | last post by:
Hi, I created a picturebox with a map as an image. I want to make certain areas on the map clickable hotspots and the way I'm trying to do this is to create a transparent label with a different cursor (hand) and then I code the click_event for that label. However, I cannot make the label transparent, even if I choose the Transparent option for the attribute for the background color of the label. Any ideas or suggestions? Thanks
8
10176
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...
8
3022
by: salmobytes | last post by:
Making thumbnail images isn't all that hard, for the most part. There is lots of shrink-wrapped code out there you can download and/or munge from. But nothing I've yet seen does the right thing with transparent background gifs. If you (I) try to work with ImageCreateFromGif($this->path); you end up with a black background. Does anybody know how to make transparent background gif thumbnails? Or maybe how to at least turn the background
0
9589
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, 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...
0
9423
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,...
0
10049
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
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...
0
5310
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...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
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
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.