Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect & Set Color Palette in Control Panel
Message
From
24/04/1998 22:17:30
 
 
To
24/04/1998 12:59:57
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00094424
Message ID:
00094833
Views:
33
>I agree that "morally" it is improper to change a user's system setting. However, many users still don't know what's screen resolution, 256 colors or true color...
>Assuming I'm able to detect that the user's video is able to display true color, am I really left just with these options:
>
> 1. create different graphics for different color settings
> 2. recommend to the user to change it (as per your suggestion)
> 3. leave it as it is & hope for the best
>
>I really do not want to brush off the importance of visual impact.

It's your choice. But it's not good to assume that the user doesn't know... :) What I can tell you for sure: I never open again a program that changes the system settings by itself! I consider this to be rude :) and, more important, dangerous. If it changes the system without asking me, that means the producer doesn't know the basic rules. So, I can't trust the program.

I never did it, but I think you can use the GetDeviceCaps() Win32API function to detect the number of colors. But I don't know how you can use it in a browser.

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform