home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!spool.mu.edu!news.cs.indiana.edu!lynx!nmsu.edu!death
- From: death@acca.nmsu.edu (Jeff Garzik)
- Subject: Re: 256 colours in TPW 3.0?
- Message-ID: <1992Sep7.104506.24896@nmsu.edu>
- Sender: usenet@nmsu.edu
- Organization: New Mexico State University
- X-Newsreader: Tin 1.1 PL5
- References: <6003@m1.cs.man.ac.uk>
- Date: Mon, 7 Sep 1992 10:45:06 GMT
- Lines: 31
-
- Mark Robinson (JO PhD) (mark-r@spec0.ee.man.ac.uk) wrote:
- :
- : Hi.
- :
- : First, let me apologise if this is a FAQ or naive question, I'm
- : new to both TPW and this group.
- :
- : I've started using TP for WIndows 3.0 with Windows 3.1 set to
- : 800x600 by 256 (I have a Trident SGVA card). My problem is I
- : can't use any more than the 20 reserved system colours when
- : displaying bitmaps, presumably because GetDeviceCaps returns 20
- : for the number of colours supported by the device. I seem to
- : be able to add colours to the palette and realize it, but when I
- : BitBlt my 256 colour bitmap to the screen, all the colours are
- : mapped to their nearest system colour.
- :
- : Is this a compatability problem with Windows 3.1 or am I doing
- : something silly? Does anybody have a fragment of code which displays
- : 256 colour device independent bitmaps?
-
- I would check out the examples given in the OWLDEMOS directory on your
- hard disk. There is at least one bitmap viewer that I know of in there
- that will display 256-color bitmaps.
-
- BTW - Your are using TPW 1.0, not TPW 3.0 as your title suggested.
-
- --
- "Only sheep need a leader." - Nomeansno
-
- death@acca.nmsu.edu
-
-