|
-
August 22nd, 1999, 09:13 PM
#1
Making a Bitmap Transparent
Anybody know how to MAKE a bitmap transparent, not DRAW a transparent bitmap? Thanks!
Last edited by nouser; April 18th, 2009 at 10:21 PM.
-
August 22nd, 1999, 09:26 PM
#2
Re: Making a Bitmap Transparent
if (IUnderstandYou() && IRememberIt())
{
set left bottom bit to color that has background
}
Dmitriy, MCSE
-
August 22nd, 1999, 09:37 PM
#3
Re: Making a Bitmap Transparent
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.
Last edited by nouser; April 18th, 2009 at 10:21 PM.
-
August 22nd, 1999, 10:27 PM
#4
Re: Making a Bitmap Transparent
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
-
August 23rd, 1999, 03:20 AM
#5
Re: Making a Bitmap Transparent
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|