Win32 Transparency

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu