Article View: comp.os.os2.programmer
Article #137Any experience with PM palette manager?
From: Martin Erzberger
Date: Tue, 03 Nov 1992 14:49
Date: Tue, 03 Nov 1992 14:49
17 lines
1182 bytes
1182 bytes
I have some trouble with the palette manager of OS/2 PM. 1. I load the bitmap in a memory device context and then use WinDrawBitmap to paint it on the screen. The realization of the palette works fine and WinDrawBitmap also works fine as long as the bitmap gets scaled. If it is painted with 100% size, the colors are completely wrong. The same happens with GpiBitBlt. Any ideas what's wrong here? 2. When I pop up a menu or a dialog box over a picture with a realized palette and then remove it, PM tries to restore the bits under the removed menu by itself and doesn't send me a WM_PAINT message. The problem is, PM doesn't get the colors of this repainted area right. This looks like a PM bug to me. I apprechiate any ideas very much. Regards, Martin Erzberger
Technical Details
Message-ID:
<1992Nov3.144914.7766@ifi.unizh.ch>Path:
arc1-ca.pugleaf.net!sparky!uunet!think.com!yale.edu!ira.uka.de!chx400!josef!erzbergShow Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!yale.edu!ira.uka.de!chx400!josef!erzberg From: erzberg@ifi.unizh.ch (Martin Erzberger) Subject: Any experience with PM palette manager? Message-ID: <1992Nov3.144914.7766@ifi.unizh.ch> Organization: University of Zurich, Department of Computer Science Date: Tue, 3 Nov 92 14:49:14 GMT Lines: 18