home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!microsoft!hexnut!matts
- From: matts@microsoft.com (Matt Saettler)
- Subject: Re: transparent bitmap background?
- Message-ID: <1992Sep14.170457.13142@microsoft.com>
- Date: 14 Sep 92 17:04:57 GMT
- Organization: Microsoft Corporation
- References: <MUFFY.92Sep12095955@remarque.berkeley.edu>
- Lines: 28
-
- In article <MUFFY.92Sep12095955@remarque.berkeley.edu> muffy@remarque.berkeley.edu (Muffy Barkocy) writes:
- >
- >With an icon, you can set the background to be transparent, so that
- >whatever is behind it shows through. I have a bitmap with a white
- >background which I would like to be transparent instead of white. I
- >believe that I can do this with the right argument to BitBlt, but I
- >don't know what the right value is. Anyone here know?
- >
- >Thanks...
- >
- >Muffy
- >--
- >
- >Muffy Barkocy | muffy@mica.berkeley.edu | wi.4636@wizvax.methuen.ma.us
- >~Little round planet/in a big universe/sometimes it looks blessed/
- > sometimes it looks cursed/Depends on what you look at, obviously/
- > But even more it depends on the way that you see~ - Bruce Cockburn
-
-
- There is a sample Windows application available via anon. ftp from
- ftp.uu.net in vendor\microsoft\multimedia\samples\transblt.zip
-
- This code shows exactly what you want to do.
-
- Matt Saettler/Microsoft Multimedia
- ----------------
- I speak only for myself....
-
-