home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / misc / 1837 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.3 KB  |  39 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!microsoft!hexnut!matts
  3. From: matts@microsoft.com (Matt Saettler)
  4. Subject: Re: transparent bitmap background?
  5. Message-ID: <1992Sep14.170457.13142@microsoft.com>
  6. Date: 14 Sep 92 17:04:57 GMT
  7. Organization: Microsoft Corporation
  8. References: <MUFFY.92Sep12095955@remarque.berkeley.edu>
  9. Lines: 28
  10.  
  11. In article <MUFFY.92Sep12095955@remarque.berkeley.edu> muffy@remarque.berkeley.edu (Muffy Barkocy) writes:
  12. >
  13. >With an icon, you can set the background to be transparent, so that
  14. >whatever is behind it shows through.  I have a bitmap with a white
  15. >background which I would like to be transparent instead of white.  I
  16. >believe that I can do this with the right argument to BitBlt, but I
  17. >don't know what the right value is.  Anyone here know?
  18. >
  19. >Thanks...
  20. >
  21. >Muffy
  22. >--
  23. >
  24. >Muffy Barkocy | muffy@mica.berkeley.edu | wi.4636@wizvax.methuen.ma.us
  25. >~Little round planet/in a big universe/sometimes it looks blessed/
  26. > sometimes it looks cursed/Depends on what you look at, obviously/
  27. > But even more it depends on the way that you see~ - Bruce Cockburn
  28.  
  29.  
  30. There is a sample Windows application available via anon. ftp from
  31. ftp.uu.net in vendor\microsoft\multimedia\samples\transblt.zip
  32.  
  33. This code shows exactly what you want to do.
  34.  
  35. Matt Saettler/Microsoft Multimedia
  36. ----------------
  37. I speak only for myself....
  38.  
  39.