Article View: borland.public.cppbuilder.nativeapi
Article #13161Re: Color mapping of a bitmap
From: Bruce Salzman
Date: Wed, 29 Oct 2003 16:24
Date: Wed, 29 Oct 2003 16:24
8 lines
1271 bytes
1271 bytes
> I first thought of using GetPixel/SetPixel to achieve this, but these > functions unfortunately use HDCs instead of HBITMAPs. Select your bitmap into a DC first, then use GetPixel/SetPixel. Regards, Bruce
Technical Details
Message-ID:
<3f9fe9a5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-xfer2.atl.newshosting.com!63.218.45.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3F9FD04C.5FE8A85E@gmx.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,d73ea480b66a6999 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-29 08:37:11 PST From: " Bruce Salzman" <bruce@nospam.org> Newsgroups: borland.public.cppbuilder.nativeapi References: <3F9FD04C.5FE8A85E@gmx.de> Subject: Re: Color mapping of a bitmap Date: Wed, 29 Oct 2003 10:24:03 -0600 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 24.94.231.89 Message-ID: <3f9fe9a5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1067444645 24.94.231.89 (29 Oct 2003 08:24:05 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-xfer2.atl.newshosting.com!63.218.45.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail