473,725 Members | 1,833 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 1733
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
20950
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
2035
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
1407
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
10609
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
5131
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
2068
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
10175
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
3020
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
8751
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
9401
Oralloy
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...
0
9257
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...
1
9171
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,...
0
9108
tracyyun
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...
0
4514
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
4781
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3218
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
2155
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.