GETN_OPTION_COLOR_READONLY
#define GETN_OPTION_COLOR_READONLY(_RGB) _strTemp = _RGB;_tmpSubNode.SetAttribute(STR_ATTRIB_COLOR_READONLY_TEXT, _strTemp);
This macro allow user to change default read only text's color.
EX1
#include <GetNbox.h> void GETN_OPTION_COLOR_READONLY_ex1() { GETN_BOX(trRoot) GETN_STR(Descript, "Tips", "Default read only text color") GETN_READ_ONLY_COLOR GETN_STR(Command, "Command", "Customized read only text color") GETN_READ_ONLY_COLOR GETN_OPTION_COLOR_READONLY(RGB(127,0,64)) if ( GetNBox(trRoot) ) out_tree(trRoot); return; }
GETN_OPTION_COLOR_BACKGROUND, GETN_OPTION_COLOR_LABEL, GETN_OPTION_COLOR_READONLY_BRANCH
GetNBox.h