473,749 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

partiallly transparent window, always on top

Is it possible in VB .NET to create a window that is always on top of
all other windows, while at the same time being partially transparent?

As example that this kind of thing is possible, the splash screen of
Adobe Reader (formely Acrobat) seems to be partially transparent.

If you have a code snippet of how something like this could be done,
that would be great.

Thanks,

Wolfgang
Goleta, California
Nov 21 '05 #1
3 3039
Wolfgang,

Have a look at opacity

http://msdn.microsoft.com/library/de...acitytopic.asp

I hope this helps?

Cor
Nov 21 '05 #2
Thanks,

The Opacity property works well.

Now, can opacity be controlled for some region(s) of a window? For
example, I want to make a window that has a "hole" in it, through
which you can see whatever is underneath the window.

Wolfgang

On Sun, 23 Jan 2005 08:59:04 +0100, "Cor Ligthert"
<no************ @planet.nl> wrote:
Wolfgang,

Have a look at opacity

http://msdn.microsoft.com/library/de...acitytopic.asp

I hope this helps?

Cor


Nov 21 '05 #3
Wolfgang,

I have seen your question often in this newsgroup, in my opinion did I not
see a real fine answer.

Or you should draw using the region class your own window.

http://msdn.microsoft.com/library/de...classtopic.asp

(And don't ask than here how to do it, you can probably than better search
for it on Google, it is such a lot of work measuring all points on the
screen that you need for that. And therefore it is in my opinion almost
impossible to help with that directly in a newsgroup)

I hope this helps a little bit.

Cor
Nov 21 '05 #4

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

Similar topics

8
6490
by: djmanmaster | last post by:
Am I right in thinking that images with transparent areas (GIFs or PNGs) should allow clicks to "pass through" to any underlying elements behind them? I have had no luck getting this to work in IE or Firefox. I have tried GIF and PNG with 'binary' transparency and PNG24 with 'alpha' transparency (obviously the latter won't work in IE without the AlphaImageLoader trick). Here is a test page for you to see it not working in action:
2
2684
by: joe | last post by:
I have a 50% transparent window that is on top of the desktop. I want the user to be able to click 'Through the transparent window' onto objects behind it ... my computer. The transparent window does not need force it just needs to be ontop of all the other windows. another example is .. if you press alt-ctrl-del to bring up task manager how can i program the window to pass mouse clicks on it to the window behined it, if task manger...
2
12023
by: GordonC | last post by:
My text boxes are transparent in that the backgrornd is visible behing the window containing the text box. This occurs when the BackColor property is Window. In some projects this does not happen so I suspect their is some property or setting causing this. If I choose a BackColor of Info, they are not transparent. How can I avoid transparent Text Boxes when using Window BackColor? Thanks, -- Gordon Clark
3
1921
by: Wolfgang | last post by:
Is it possible in C# .NET to create a window that is always on top of all other windows, while at the same time being partially transparent? If not in C# .NET, how about in C++ .NET? As an example that this kind of thing is possible, the splash screen of Adobe Reader (formely Acrobat) seems to be partially transparent. If you have a code snippet of how something like this could be done, that would be great.
1
3010
by: Carsten Klotz | last post by:
Hi, I've set the TransparencyKey of a form to black. That means, all black pixel will be shown transparent within the drawing content of that form. If I set the background to black, I can see the underlying window (ie. Desktop or IE). But when I want to draw with the mouse inside that transparent area, my form/window lost its focus (TopMost=true). Even when I'm just moving the mouse, I can see, that I'm "touching" the underlying content...
6
5053
by: Per Larsson | last post by:
Hi all! I am working with a project and want to make a form that is truely transparent. (Se through and click through.) I can make it transparent by setting the Opaqe property, and by setting the TransparencyKey colour I can make it click through in parts that then becomes invisible. But I want the hole form to be "click through". All controls, frames, bars and everything! It seems that there is no support for that in VB.net, but I have...
5
11424
by: Scirious | last post by:
People, is there a way to have translucidy windoes in Swing? TIA, Scirious.
1
2528
by: yuban | last post by:
I am trying ( so far in vain ) to display a normal looking ( non-transparent ) control in a transparent window. I am attempting this in C++, on Vista ( argh ), and having no luck at all. Our transparent window has been accomplished with the infamous "DwmExtendFrameIntoClientArea()" call, which of course implies that "composition" is enabled. If someone can tell me how to simply render an icon or bitmap so that it is not see-through, I would...
1
1914
by: Terry | last post by:
Hi again folks, After getting my page (http://theamazing.onlinewebshop.net/spotlight/) to work in Firefox and Safari. I thought I would try to get in working in IE. My attempt is here: http://theamazing.onlinewebshop.net/light/ Unfortunately, the transparent window is not enclosing the mouse
0
8997
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
9389
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
9335
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
9256
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
8257
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...
0
6079
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3320
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
2
2794
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2218
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.