>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