473,386 Members | 1,706 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,386 software developers and data experts.

Opaque controls?

UJ
Is there any way to make controls opaque? I need to make text and a web
browser opaque.

I'm using .Net 1.1 but if 2.0 will do it I'll move to 2.0.

Thanks.

Jeff.
Jan 3 '06 #1
6 3684
UJ <fr**@nowhere.com> wrote:
Is there any way to make controls opaque? I need to make text and a web
browser opaque.

I'm using .Net 1.1 but if 2.0 will do it I'll move to 2.0.


Do you mean (semi)transparent rather than opaque?

I don't believe there's any way of doing so currently. WPF (Avalon)
will have a lot of transparency control, although I doubt it extends to
non-Avalon controls.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Jan 3 '06 #2
Hi,
"UJ" <fr**@nowhere.com> wrote in message
news:u0**************@tk2msftngp13.phx.gbl...
Is there any way to make controls opaque? I need to make text and a web
browser opaque.

I'm using .Net 1.1 but if 2.0 will do it I'll move to 2.0.


What you mean with opaque controls?
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Jan 3 '06 #3
UJ
I guess I do mean transparent. I want to be able to have something on the
screen but be able to see through it. Things like a web browser control or a
label.

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:uk**************@TK2MSFTNGP15.phx.gbl...
Hi,
"UJ" <fr**@nowhere.com> wrote in message
news:u0**************@tk2msftngp13.phx.gbl...
Is there any way to make controls opaque? I need to make text and a web
browser opaque.

I'm using .Net 1.1 but if 2.0 will do it I'll move to 2.0.


What you mean with opaque controls?
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

Jan 3 '06 #4
You can set a forms transparency using the Opacity property?

Do this help?

Yosh
"UJ" <fr**@nowhere.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I guess I do mean transparent. I want to be able to have something on the
screen but be able to see through it. Things like a web browser control or
a label.

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>
wrote in message news:uk**************@TK2MSFTNGP15.phx.gbl...
Hi,
"UJ" <fr**@nowhere.com> wrote in message
news:u0**************@tk2msftngp13.phx.gbl...
Is there any way to make controls opaque? I need to make text and a web
browser opaque.

I'm using .Net 1.1 but if 2.0 will do it I'll move to 2.0.


What you mean with opaque controls?
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation


Jan 4 '06 #5
UJ
Is that for everything on a form or just specific items. I need to be able
to do specific items.

Jeff.

"Yosh" <yo***@nospam.com> wrote in message
news:e4*************@TK2MSFTNGP11.phx.gbl...
You can set a forms transparency using the Opacity property?

Do this help?

Yosh
"UJ" <fr**@nowhere.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I guess I do mean transparent. I want to be able to have something on the
screen but be able to see through it. Things like a web browser control or
a label.

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>
wrote in message news:uk**************@TK2MSFTNGP15.phx.gbl...
Hi,
"UJ" <fr**@nowhere.com> wrote in message
news:u0**************@tk2msftngp13.phx.gbl...
Is there any way to make controls opaque? I need to make text and a web
browser opaque.

I'm using .Net 1.1 but if 2.0 will do it I'll move to 2.0.

What you mean with opaque controls?
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation



Jan 4 '06 #6
UJ" <fr**@nowhere.com> wrote in message
news:eH*************@tk2msftngp13.phx.gbl...
Is that for everything on a form or just specific items. I need to be able
to do specific items.

Jeff.

"Yosh" <yo***@nospam.com> wrote in message
news:e4*************@TK2MSFTNGP11.phx.gbl...
You can set a forms transparency using the Opacity property?

Do this help?

Yosh


I'm afriad Winforms doesn't support semi-transparancy of controls only of
top level windows. As Jon pointed out, to get this sort of behavior you will
have to wait for WPF (formally known as Avalon) as this graphics engine (not
GDI based) has full support for transparency

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk
Jan 5 '06 #7

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

Similar topics

19
by: Capstar | last post by:
Hi NG, I've read some time ago in this NG, that when you're writing a library it can be good practice to use an opaque type to point to your structures if the user doesn't need to modify the...
1
by: Per Larsson | last post by:
Hi all! I am working with a project and want to make a form that is semi transparent, and transparent to mouse clicks. (Se through and click through.) The form shall be visible but opaque and the...
2
by: jashugun | last post by:
Hello to everybody, I'm trying to write a small program which is meant to interact with an sqlite database. My idea is to create once a database handler, which happens to be an opaque pointer (a...
0
by: PJ6 | last post by:
(VS.NET 2005) Transparent controls are apparently opaque to each other. Is there a workaround? Fix? Paul
18
by: chankl | last post by:
Can anyone explain what's an opaque pointer and how it's implemented in C? I read about this concept in the book "C interfaces and implementations". Here's an example from the book (list.h -...
3
by: Ernesto Bascón | last post by:
Hi everybody: I have two questions: 1. I'm using opaque pointers in my classes to hide their data structures; there is a way to use opaque pointers in template classes; since the...
5
by: Prisoner at War | last post by:
On Apr 26, 5:19 pm, Ben C <spams...@spam.eggswrote: Super!! It will take me a while to digest your idea, though...and in the meantime, may I ask: how about utilizing any CSS 2.x methods? And,...
3
by: Sin Jeong-hun | last post by:
As far as I know if I change the form's opacity, every control on the form also inherits that opacity. But in many real applications (not application programs), we see opaque text (100% opacity) on...
27
by: Nate Eldredge | last post by:
Consider the following pseudo-code: #include <opaque.h> struct foo { int a; opaque_t op; int b; };
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...

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.