On 27/07/2017 at 05:13, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R14
Platform: Windows ;
Language(s) : C++ ;
---------
Hi folks,
Scott brought up an issue that went unresolved a few years a go. Link to his post here. He seemed to think there was another 'layer' if you like, that he was missing when trying to colour a dialog edit text area. I couldn't see the image in Scott's post, so added one in the link below to highlight it. The area in question is the darker grey where the white dot is.
These are the IDs I'm currently aware of:
SetDefaultColor(DLG_NAME_TEXT, COLOR_BG, Vector(0.0,1.0,0.0)); //Sets outside bg area
SetDefaultColor(DLG_NAME_TEXT, COLOR_TEXT_EDIT, Vector(1,0,0)); //Sets color of text
SetDefaultColor(DLG_NAME_TEXT, COLOR_TEXTFOCUS, Vector(0,1,0)); //Sets color of cursor line when typing
SetDefaultColor(DLG_NAME_TEXT, COLOR_BGSELECTEDTEXT, Vector(0,0,1)); //Sets color of text background (when highlighted)
SetDefaultColor(DLG_NAME_TEXT, COLOR_FGSELECTEDTEXT, Vector(0,0,0)); //Sets color of text foreground (when highlighted)
SetDefaultColor(DLG_NAME_TEXT, COLOR_TRANS, Vector(0,0,0)); //Sets background color behind the text (trans. bg)
I've looked through the colours header, but it's not really helping. Is there another ID here that would complete the picture?
WP.