Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Windows color scheme in apps
Message
From
23/05/1998 01:01:18
 
 
To
19/05/1998 07:30:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00100274
Message ID:
00101363
Views:
26
>>Is there any way (API function calls or other methods) that an application can use the current windows color scheme set by the user in the properties dialog of the Display in Win95?
>>
>>What I need is a way for me to use the same colors as Windows uses for screen elements (dialog boxes, buttons, etc.). For example, instead of setting the BackColor property of a form to a specific RGB value, I want to use the color scheme used by Windows.
>>
>>Appreciate any suggestions/comments regarding this matter.
>Current default form setting is like that. Changing 3D objects color in Control panel\Display\Appearance change form color. If you set form color source to 5- Window colours then it correspond to Control panel\Display\Appearance\window color.
>Cetin

Thanks a lot. I did what you suggested and it's exactly what I want. I realy forgot about ColorSource property.
Previous
Reply
Map
View

Click here to load this message in the networking platform