Multiple Palettes on Multiple Desktops

Discussion in 'Windows Vista Drivers' started by Muhammad Asif Fayyaz, Sep 8, 2004.

  1. A-O-A,
    I have written a Video Display Driver for a normal Video Adapter. For 8 bit
    per pixel color depth, I have created a fixed palette and overwritten system
    colors (20 colors) also. It was my requirement. Now the problem arises when I
    attaches this card within a PC having a normal Video Adapter and set the two
    devices to 8 bit per pixel color depth.

    If I make any of these video adapters (Desktops) the primary, then colors on
    the secondary adapter (Desktop) appears very bad. I think it is due to the
    fact that GDI renders all the Adapters (Desktops) on the basis of the primary
    palette. My question is, is there any way we can force the GDI to render on
    the adapters (desktops) with their respective palette.


    Muhammad Asif Fayyaz
    Muhammad Asif Fayyaz, Sep 8, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.