Information générale
Catégorie:
Fonctions Windows API
You can try SET PALETTE ON/OFF. if its' about a splash screen with just one image on it than most probably SET PALETTE OFF will do. Take a look at the help file on this topic.
You might have to decrease the color depth of your image to 256 colors; any decent image processing program will do that. I use PaintShop Pro (great tool) to decrease color depth optimized. From 16-bit to 256 colors you can't tell the difference,
HTH
Sorin
>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?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement