Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Windows color scheme interactively?
Message
From
20/11/1997 17:54:27
 
 
To
20/11/1997 10:58:42
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00061070
Message ID:
00061507
Views:
53
>>>>>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
Map
View

Click here to load this message in the networking platform