Original Post
I''ve been working on my first major DirectX creation and have run into an annoying problem. Does anybody know a way to set up the color key so that it will work in any display mode? (256 color, 16bit, 32bit, etc) Maybe this is a dumb question but, I am having trouble finding a way to setup the DirectDraw color key structure so that it will work on these variety of modes. Any help on this would be greatly appriciated.
Some info in case you need it ...
Using MS VC 6.0 Pro
DirectX 8.0a
Using DirectDraw 7
Using 24bit bitmaps included as resources in the project
The way I have it now, the color key works well in 16bit desktop, but not in a 32bit desktop (It uses black for transparency for some reason)