GETN_READ_ONLY_EX
#define GETN_READ_ONLY_EX(_MODE) _tmpSubNode.Enable = _MODE;
Set the box created in the dialogbox read only or editable state.
This macro only affects its preceding line.
EX1
#include <GetNbox.h> void GETN_READ_ONLY_EX_ex1() { GETN_TREE(testTree) GETN_STR(WksName, "Worksheet Name:", "This is a test") GETN_READ_ONLY_EX(0) // 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_EX(2) // Read only and with color if(GetNBox(testTree)) out_tree(testTree); }
GETN_READ_ONLY, GETN_READ_ONLY_COLOR
GetNbox.h