![]() Translucency – People often use translucency and transparency interchangeably but they actually mean very different things. Some applications and APIs use the term transparency to refer to a scale that ranges from “completely” transparent to “completely” opaque. Transparency – Refers to the ability to see through something clearly and without obstruction. Here are some common terms you should be familiar with when working with transparency and translucency in Windows. ![]() When it comes to graphics, the terminology can be confusing. We will also look at the existing functionality for transparency that Windows Vista inherited from Windows 2000 and see how it complements the new DWM functionality. As you will see, the DWM is responsible for much more than just “glass”. ![]() The DWM is responsible for the composition of windows on the desktop and the DWM API allows developers to control how composition affects a particular window. In this part 3 of the Windows Vista for Developers series, we are looking at the Desktop Window Manager (DWM) API. Windows Vista introduces yet another twist on the road away from non-rectangular windows by allowing developers to apply translucency to portions of a window. Windows 2000 introduced layered windows by means of the WS_EX_LAYERED extended window style and developers were finally able to control not only the shape but also the level of transparency within the window region. Although Windows 95 (and Window NT 3.51) introduced Windows developers to non-rectangular windows, through the ability to set the window region for a given window using the SetWindowRgn function, this did not provide transparency since the window was still completely opaque and merely afforded the developer some control over the window’s shape.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |