WinAPI : Making Forms Translucent
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.
(more…)
