GETN_READ_ONLY_COLOR
#define GETN_READ_ONLY_COLOR GETN_READ_ONLY_EX(ENABLE_READ_ONLY)
Set the color of the box created in the dialogbox.
This macro only affects its preceding line.
EX1
#include <GetNbox.h> void GETN_READ_ONLY_COLOR_ex1() { GETN_TREE(testTree) GETN_STR(WksName, "Worksheet Name:", "This is a test") GETN_READ_ONLY // string worksheet name should be read only GETN_STR(readOnly, "Testing item: ReadOnly", "Can modify") GETN_READ_ONLY_EX(1) // string worksheet name should be editable GETN_STR(readOnly, "Testing item: ReadOnly", "Cann't modify") GETN_READ_ONLY_COLOR // Read only and with color if(GetNBox(testTree)) out_tree(testTree); }
GETN_READ_ONLY, GETN_READ_ONLY_EX
GetNbox.h