Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / January 2005

Tip: Looking for answers? Try searching our database.

partiallly transparent window, always on top

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wolfgang - 23 Jan 2005 03:17 GMT
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
Cor Ligthert - 23 Jan 2005 07:59 GMT
Wolfgang,

Have a look at opacity

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemwindowsformsformclassopacitytopic.asp


I hope this helps?

Cor
Wolfgang - 23 Jan 2005 23:07 GMT
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

>Wolfgang,
>
[quoted text clipped - 5 lines]
>
>Cor
Cor Ligthert - 24 Jan 2005 07:43 GMT
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/default.asp?url=/library/en-us/cpref/html/frlr
fsystemdrawingregionclasstopic.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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.