asiffayyaz
September 8th, 2004, 08:14 AM
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.
Regards,
Muhammad Asif Fayyaz
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.
Regards,
Muhammad Asif Fayyaz