471,337 Members | 859 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

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 1631
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.com> wrote in message
news:uV*************@TK2MSFTNGP10.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.com> wrote in message
news:uV*************@TK2MSFTNGP10.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*************@TK2MSFTNGP10.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.com> wrote in message
news:uV*************@TK2MSFTNGP10.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**************@TK2MSFTNGP11.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.com> wrote in message
news:uV*************@TK2MSFTNGP10.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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by jhomp ssens | last post: by
4 posts views Thread by tshad | last post: by
3 posts views Thread by MW de Jager | last post: by
8 posts views Thread by Grahammer | last post: by
3 posts views Thread by SStory | last post: by
4 posts views Thread by Vincent | last post: by
8 posts views Thread by MikeB | last post: by
8 posts views Thread by Brian Ward | last post: by
8 posts views Thread by salmobytes | last post: by

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.