🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-window.programmer.win32
Article #1

A 24bit Color bitmap

#1
From: bob
Date: Thu, 10 Dec 1998 00:00
16 lines
1369 bytes
Hello,

I need to have a DC with a 24bit color bitmat in any windows screen modes 
(16 Color, 256 Color, 16bit color, ...) then draw my drawing (with 24bit 
color pens) in it. I can create a 24bit color bitmat and select it for any 
DC (CreateBitmap, SelectObject). But when I finish my drawing and save this 
bitmat to disk, there is no drawing in it! I don't want this DC be visible. 
Drawings is in background.

I mean, how can a program produce a 24bit color image file while is running 
under 256 colors Windows mode? 

Thanks very much. 

Bob Daneshfar
bob@dpi.net.ir
Technical Details
Message-ID: <9812109132.AA913266673@dpi.net.ir>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1683be,7343bded9731cbcf,start
X-Google-Attributes: gid1683be,public
X-Google-Thread: fc8d0,7343bded9731cbcf,start
X-Google-Attributes: gidfc8d0,public
X-Google-Thread: 10a296,7343bded9731cbcf,start
X-Google-Attributes: gid10a296,public
From: "bob" <bob@dpi.net.ir>
Subject: A 24bit Color bitmap
Date: 1998/12/10
Message-ID: <9812109132.AA913266673@dpi.net.ir>
X-Deja-AN: 420698170
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Content-Description: "cc:Mail Note Part"
Organization: mail2news@nym.alias.net
Mail-To-News-Contact: postmaster@nym.alias.net
MIME-Version: 1.0
Newsgroups: comp.os.ms-window.programmer.win32,borland.public.delphi.graphics,alt.winsock.programming