Click here to Skip to main content
15,884,472 members
Articles / Programming Languages / Visual Basic
Article

Show any Window with translucent frames

Rate me:
Please Sign up or sign in to vote.
2.85/5 (12 votes)
17 Jan 2006 54.2K   2.2K   39   8
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


Written By
Software Developer (Senior) it-Info
Serbia Serbia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralArmin Pin
Archy_wanted1-Apr-10 1:23
Archy_wanted1-Apr-10 1:23 
GeneralSite your sources Pin
benji21-May-08 11:49
benji21-May-08 11:49 
GeneralNice work! Pin
admcse26-Jan-08 4:01
admcse26-Jan-08 4:01 
QuestionI love it, but just one question... Pin
_Richard Faulkner28-Aug-06 13:22
_Richard Faulkner28-Aug-06 13:22 
QuestionConrols? Pin
_Richard Faulkner28-Aug-06 13:19
_Richard Faulkner28-Aug-06 13:19 
Generalnot quite... Pin
evildictaitor21-Aug-06 3:53
evildictaitor21-Aug-06 3:53 
QuestionWheres the cream filling? Pin
Richard Parsons14-Apr-06 11:19
Richard Parsons14-Apr-06 11:19 
Generalit is very nice. Pin
gb231214-Mar-06 20:38
gb231214-Mar-06 20:38 

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

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