I have an application that displays a splash screen created in the 16-bit color palette (high-color). Naturally, it looks beyond horrible in 256 colors. I would like to toggle images depending on what color palette is being used by the operating system.

I am certain foxpro is capable of detecting what color pallet Windows 95 is using, however, the solution eludes me right now. I thought it might be available through declare dll (using the window 95 api). Any thoughts?