Win32 Transparency
- Posted by David Cuny <dcuny at LANSET.COM> May 05, 1999
- 481 views
Does anyone know if there is a relatively easy way to display "transparent" images in using the Win32 API? I've run across the 'image list' where you store a bitmap and a mask, but it looks a bit klunky. In specific, I want to display bitmaps (such as a checkbox or radio button) in a window. One color ({255,0,255} in particular) is designated as "transparent", and should not be rendered. In theory, I could blit the destination pixels, manally blend it with the bitmap, and blit it back, but I was looking for something built into the Win32 API. It looks like perhaps the animation control could be used for this purpose... Any suggestions? Thanks. -- David Cuny