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