is there any way to draw a partially transparent rect with CWindowGc.DrawRect()?
i can easily bring an alpha channeled CFbsBitmap to "mask" the brush, but can't figure out if there's even a way to do that
thanks, that works like a charm; i didn't even know TRgb could hold alpha channel information
as a side note, why on earth did they define the TRgb constructor that takes a hex value as a parameter to use the value in "reverse order" - blue, green, red, rather than the more logical rgb :|
Forum posts: 1419
I have actually never tried it, but I think it works to simply set alpha channel on the color you set for the Brush.
Forum posts: 9
thanks, that works like a charm; i didn't even know TRgb could hold alpha channel information
as a side note, why on earth did they define the TRgb constructor that takes a hex value as a parameter to use the value in "reverse order" - blue, green, red, rather than the more logical rgb :|
Forum posts: 1
Thank you very much!
I have just worked on it for 5 hours.
And I can't believe it is so simple!
But I must admit it is true.
A newbie from China. 9/22
I'll keep my hope and realize it.