Information générale
Catégorie:
Fonctions Windows API
>>>>>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
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