interface background color

On 16/05/2014 at 04:44, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   15 
Platform:   Windows  ;   Mac OSX  ; 
Language(s) :     C++  ;


I am trying to get the interface background color that is defined in interface color preferences.  I found this post but there was no answer.

How would I get access to this color value?  Is it stored somewhere in world preferences?


On 18/05/2014 at 20:47, xxxxxxxx wrote:

Hi Ama,
if you're looking for the colours to use inside a GeUserArea()'s DrawMsg() function, then you can use the following:

// And here's a few others that might be useful:

If you're trying to set colour values outside of DrawMsg(), you may not get the returned values until after the InitValues() is called. I'm not entirely sure which colours are affected by this, the docs don't really tell you much on gui colours at all. But anyway, hope that's of some help.

On 21/05/2014 at 05:41, xxxxxxxx wrote:

worked perfectly.

thank you,