Главная страница | назад





Article #15040: Windows System colors the easy way.

 Question and Answer Database

FAQ40C.txt   Windows System colors the easy way.
Category   :Install Issues
Platform    :All
Product    :C++Builder  1.x

Question:


I want to know how to get the windows system colors without messing with 
system pallettes.

Answer:


The values of all of the visual items (3d objects, background colors, ett.) 
are stored in RGB format in strings in the registry. 

Go to HKEY_CURRENT_USER\Control Panel\Colors to find them. 
You can parse them into RGB values to manipulate them.

7/2/98 10:32:32 AM
 

Last Modified: 01-SEP-99