home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!lise.unit.no!geirt
- From: geirt@Lise.Unit.NO (Geir Torheim)
- Subject: StretchBlt() and colors...
- Message-ID: <1992Aug18.165359.13365@ugle.unit.no>
- Keywords: StretchBlt, SelectPalette, AnimatePalette
- Sender: news@ugle.unit.no (NetNews Administrator)
- Organization: Norwegian Institute of Technology
- Date: Tue, 18 Aug 92 16:53:59 GMT
- Lines: 27
-
-
- (Running Borland C++ 3.0, Windows 3.1)
-
- Hi,
-
- I've made a simple graphics program which creates a bitmap and uses
- BitBlt to copy the stuff to the screen. I use my own color palette and things
- worked just fine, until I modified my program from using BitBlt()
- to using StretchBlt(). This was the ONLY change I did in my program.
- Now the colors are all wrong. AnimatePalette doesn't affect the display
- anymore either. Actually, it may look like Windows won't use my color palette
- anymore... :-(
-
- Are there any known problems with StretchBlt and colors, or should I assume
- a bug in my program ?
-
- Any help appreciated.
-
- -Geir
-
-
-
- --
- Geir Torheim email: geirt@lise.unit.no
- MR Centre, med. section Phone: +47 7 99 89 36
- Olav Kyrres gt. 17 Fax: +47 7 99 77 08
- 7006 TRONDHEIM, NORWAY
-