Transparency on toolbar

Started by
1 comment, last by GuitarPlayer0912 16 years, 9 months ago
Hey everyone, as with all of my posts I'm using c++ and the Win32 API. I'm rather new to using toolbars, and it's getting to the point where I want to add bitmaps to each button. I know how to do that using TBADDBITMAP and all that stuff, but I don't want the entire bitmap to show. There needs to be transparent parts in the image, and I don't know how to do that. Although, I was messing around with colors, and I found that straight blue RGB(0, 0, 255) acted as a transparent color. So I guess I'm asking if there is any rule to this transparency, or are there other transparent colors so I don't accidentally use them in the image?
Advertisement
Transparancy is usually determined by palette order, and the first colour in the palette is usually transparant. It will have nothing to do with the actual colour value you use.
Ok, thanks.

This topic is closed to new replies.

Advertisement