GETN_MULTISEL_STR_LISTBOX
#define GETN_MULTISEL_STR_LISTBOX(_NODE_NAME, _NODE_LABEL, _DEFAULT_VAL, _COMBO_STR) _tmpSubNode = _tmpNode.AddNode(#_NODE_NAME, ONODETYPE_CTRL_STRING_ARRAY); _tmpSubNode.strVals = _DEFAULT_VAL;TREE_ADD_LABEL(_NODE_LABEL);_tmpSubNode.SetAttribute(STR_COMBO_ATTRIB, _COMBO_STR);
creates a multiselect string list box in the dialogbox.
EX1
void GETN_MULTISEL_STR_LISTBOX_Ex1() { GETN_TREE(tr) GETN_MULTISEL_STR_LISTBOX(StateList, _L("Positive State Value"), "", "a|b|c") vector<string> vs = {"c", "a"}; GETN_CURRENT_SUBNODE.strVals = vs; if( GetNBox(tr )) out_tree( tr ); }
GETN_MULTISEL_LISTBOX
GetNBox.h