Click here to Skip to main content
Licence 
First Posted 17 Jan 2006
Views 35,525
Bookmarked 38 times

Show any Window with translucent frames

By | 17 Jan 2006 | Article
Good and quck code to show any window as translucent

Sample Image - Translucent_Windows.jpg

Introduction

Good code to display your windows with smooth border or even semi-transparent caption.

Try this it's so easy. You can event use your .PNG images for window drawing.

This code uses small API functions for drawing layered window, but it's so simple. Design your professional look like Winamp skins with alpha blended functions or DesktopX look.

Like DesktopX, code displays first layered window with your drawing and then window which you want to display in it. This must be used because Layered window can't display controls. If you choose to draw controls in Layered window it can be done, but your drawing will become so slow, so this is the simplest solution. I also think that Vista does this with same method.

Soon I will create all controls and post them here. Controls same as Vista Controls.

Thanks. Nemanja

 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

NemanjaVeselinovic

Software Developer (Senior)
it-Info
Serbia Serbia

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralArmin PinmemberArchy_wanted1:23 1 Apr '10  
GeneralSite your sources Pinmemberbenji11:49 21 May '08  
GeneralNice work! Pinmemberadmcse4:01 26 Jan '08  
QuestionI love it, but just one question... Pinmember_Richard Faulkner13:22 28 Aug '06  
QuestionConrols? Pinmember_Richard Faulkner13:19 28 Aug '06  
Generalnot quite... Pinmemberevildictaitor3:53 21 Aug '06  
QuestionWheres the cream filling? PinmemberRichard Parsons11:19 14 Apr '06  
Generalit is very nice. Pinmembergb231220:38 14 Mar '06  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120517.1 | Last Updated 17 Jan 2006
Article Copyright 2006 by NemanjaVeselinovic
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid