Anybody know how to MAKE a bitmap transparent, not DRAW a transparent bitmap? Thanks!
Printable View
Anybody know how to MAKE a bitmap transparent, not DRAW a transparent bitmap? Thanks!
if (IUnderstandYou() && IRememberIt())
{
set left bottom bit to color that has background
}
Dmitriy, MCSE
Do you know how I would do this? Do you have an example function that shows how to do this or could you make one? I don't understand. I'am kinda a newbie.
Sorry, not so easy. The idea was good for setting background color for icon.
About transparent bitmap:
There is an article in MSDN (Q79212). If you have not MSDN,
send to [email protected]?subject=Q79212 e-mail
and you will receive autoreplay with article.
This article has example. If you have any questions I will back in 12 hours (We have 11 pm now)
Dmitriy, MCSE
Hi,
you can't do that. The idea behind transparent graphics is that there is one color which is "declared" as transparent. The real transparency is done by the drawing algorithm, where this color is simply not painted.
Martin