home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / apps / 2637 < prev    next >
Encoding:
Text File  |  1992-09-09  |  1.1 KB  |  21 lines

  1. Newsgroups: comp.os.ms-windows.apps
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!jvnc.net!nuscc!cherry!shah
  3. From: shah@cherry.NoSubdomain.NoDomain (shahrin abdullah)
  4. Subject: How to Change bitmap color upon loading.
  5. Message-ID: <1992Sep10.031029.6425@nuscc.nus.sg>
  6. Sender: shah@cherry (shahrin abdullah)
  7. Organization: Institute of Systems Science, NUS, Singapore
  8. Date: Thu, 10 Sep 1992 03:10:29 GMT
  9. Lines: 9
  10.  
  11. Hi there ! I was just wondering whether any of U gurus out there can solve my problem.
  12. The situation is like this. I have created a bitmap using the image editor with the color set to black on a white background. Somewhere along the line, I will load that specified  bitmap using the LoadBitMap function. Now the problem is, how do I changed the color of this bitmap to another one, like for instance to blue or red inorder to suit to certain situation in this instance before I display it using the BitBlt function. Do I need to use the GetDIBits and SetDIBits function to changed the color and if
  13.  
  14.  
  15.  
  16.  
  17.  so how do I do it ? Please help !
  18. I'm only a novice in Windows. Thank U.
  19.  
  20.  
  21.