GETN_STR_GROUP
#define GETN_STR_GROUP(_NODE_NAME, _NODE_LABEL, _DEFAULT_VAL, _COMBO_STR) _tmpSubNode = _tmpNode.AddTextNode(_DEFAULT_VAL, #_NODE_NAME, TRGP_STR_GROUP);TREE_ADD_LABEL(_NODE_LABEL); _tmpSubNode.SetAttribute(STR_COMBO_ATTRIB, _COMBO_STR);
This is a special Combo control that allows multiple entried in the combo list to be added into a single string value, separated by spaces.
User can directly edit the string in the edit box, or pick from the combo list and selected entry in the list will be appended to the edit box.
EX1
#include <GetNbox.h> void GETN_STR_GROUP_ex1() { GETN_TREE( tr ); GETN_STR_GROUP(stats, "Please pick a few US Stats", "MA", "|MA|CA|RI|VT|NY") if( GetNBox( tr )) out_tree( tr ); }
GETN_MULTISEL_LISTBOX
GetNbox.h