home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!gmd.de!ira.uka.de!ira.uka.de!math.fu-berlin.de!Sirius.dfn.de!chx400!josef!erzberg
- From: erzberg@ifi.unizh.ch (Martin Erzberger)
- Subject: Re: Overriding system colors (Using 256 distinct colors)
- Message-ID: <1992Nov9.131226.2359@ifi.unizh.ch>
- Organization: University of Zurich, Department of Computer Science
- References: <1992Nov8.195236.1537@abo.fi>
- Date: Mon, 9 Nov 92 13:12:26 GMT
- Lines: 9
-
- I use:
-
- hpal = GpiCreatePalette (hab, 0, LCOLF_CONSECRGB, ulColors, (PULONG)*plTable);
- GpiSelectPalette (hps, hpal);
- WinRealizePalette (hwndClient, hps, &ulTemp);
-
- On my system, this works (also XGA).
- Regards, Martin
-
-