Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Windows color scheme interactively?
Message
De
20/11/1997 17:54:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00061070
Message ID:
00061507
Vues:
58
>>>>>I want to set my own color scheme prior to running my app
>>>>>
>>>>>- I tried the WriteProfileString API call w/ no success
>>>>>- It does update the Control.ini but the colors are not changed
>>>>>dynamically. It seems the message is not being sent to Windows;
>>>>>- Should i use DDE?
>>>>
>>>>You shouldn't use anything, because you shouldn't change the system settings. If you change system settings, they are changed for all applications. Do you like when a program does this on your computer? :)
>>>>
>>>>Vlad
>>>
>>>
>>>How about changing system colors temporarily and resetting at the end of the application? :)
>>
>>Nope. When you switch between applications, the settings will be changed in all apps and OS. Do you like it? :) In a multitasking environment, it's not "polite" to change the OS settings.
>>
>>Vlad
>
>
>Alright, what is the best way of dealing with many different color schemes when building your forms.

Change the colors at form level or at form class level.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform