This topic is now archived and is closed to further replies.


How to draw image on DC without transparent color?

Recommended Posts

Guest Anonymous Poster
if you don''t want to use masks then SelectClipRgn will work if you have a region defined that only contains the non-transparent pixels. there are plenty of net functions available to make a region from a bitmap with a "transparent" color. just google for BitmapToRegion or BitmapToRgn or something like that.

you can also use TransparentBlt or AlphaBlend on 2K and XP. NT, 2K and XP also have the MaskBlt and PlgBlt functions (but they use masks.)

Share this post

Link to post
Share on other sites