Article View: comp.windows.ms.programmer
Article #1639Re: HELP!! Why doesn't RealizePalette() work???
From: Jeff Rife
Date: Thu, 14 Mar 1991 04:34
Date: Thu, 14 Mar 1991 04:34
21 lines
1469 bytes
1469 bytes
In article <1991Mar13.141016.6954@swbatl.sbc.com> mh2620@sarek.sbc.com writes:
>
>I'm trying to display a 16 color image that I've converted to
>DIBitmap format. I've filled in the appropriate BITMAPINFO
[stuff deleted]
>640x480x4(16) display? I've been working on this for three days
^^^^^
The sixteen colors are your problem. If it is the stock VGA driver, it does
not support palette operations *at all*. Microsoft really hates us.
Take a look at Petzold's articles the past ~3-4 issues of PC Magazine,
Environments column. Real good palette stuff.
--
Jeff Rife P.O. Box 3836 | "Because he was human; because he had goodness;
College Station, TX 77844 | because he was moral they called him insane.
(409) 823-2710 | Delusions of grandeur; visons of splendor;
jlr1801@aim1.tamu.edu | A manic-depressive, he walks in the rain."
Technical Details
Message-ID:
<13332@helios.TAMU.EDU>Path:
arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!sdd.hp.com!cs.utexas.edu!helios!aim1!jlr1801References:
<1991Mar13.141016.6954@swbatl.sbc.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!sdd.hp.com!cs.utexas.edu!helios!aim1!jlr1801 From: jlr1801@aim1.tamu.edu (Jeff Rife) Newsgroups: comp.windows.ms.programmer Subject: Re: HELP!! Why doesn't RealizePalette() work??? Keywords: realizepalette setsystempaletteuse Message-ID: <13332@helios.TAMU.EDU> Date: 14 Mar 91 04:34:19 GMT References: <1991Mar13.141016.6954@swbatl.sbc.com> Sender: usenet@helios.TAMU.EDU Organization: City of College Station, Texas Lines: 21