Jalaj P. Jha

Technical & Miscellaneous Ramblings

Archive for February 4th, 2007

WinAPI : Making Forms Translucent

with 5 comments

Your Application Window hides everything behind it, which is the default behaviour of all windows. Making the window transparent on the other hand hides the form and all static controls as label over it, to make the background visible. Well there’s a third way! using SetLayeredWindowAttributes function. SetLayeredWindowAttributes function enables to set the form’s opacity such that the form and the controls contained in it as well as the background are visible. The function is available on Windows 2000 and above versions and works on Layered Windows.
Read the rest of this entry »

Written by Jalaj

February 4, 2007 at 10:43 am

Posted in Application, Visual Basic, WinAPI

Tagged with