home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / misc / 1797 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  1.3 KB

  1. Xref: sparky comp.os.ms-windows.programmer.misc:1797 comp.os.ms-windows.programmer.tools:939 comp.os.ms-windows.programmer.win32:926
  2. Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.win32
  3. Path: sparky!uunet!spool.mu.edu!yale.edu!jvnc.net!nuscc!cherry!shah
  4. From: shah@cherry.NoSubdomain.NoDomain (shahrin abdullah)
  5. Subject: How to change color of a .bmp file upon loading 
  6. Message-ID: <1992Sep12.051058.16495@nuscc.nus.sg>
  7. Keywords: Change color of a bitmap file
  8. Sender: shah@cherry (shahrin abdullah)
  9. Organization: Institute of Systems Science, NUS, Singapore
  10. Distribution: na
  11. Date: Sat, 12 Sep 1992 05:10:58 GMT
  12. Lines: 7
  13.  
  14. Hi there. I am wondering whether is there any kind windows' soul out there who could help me in my current agony.
  15.  
  16. I would like to know whether is there a function in the SDK which allows me to change the color of a bitmap after loading. I have use the Image editor to cre-  ate the bitmap file with a choice of 16 colors. Now upon loading by using the LoadBitmap  function, I would like to change its color to one of the 256 RGB values. How do I do this ? Is there anyone of U who have done this before and would like to share with me the sample source code ? Any reference is also appreciated. Thank U.
  17.  
  18. PS. I using MS C7.
  19.  
  20. Shah
  21.