472,799 Members | 1,390 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,799 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 3666
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
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.