General information
Category:
Windows API functions
>>>>>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only