GETN_FONT
#define GETN_FONT(_NODE_NAME, _NODE_LABEL, _DEFAULT_VAL) _tmpSubNode = _tmpNode.AddNumericNode(_DEFAULT_VAL, #_NODE_NAME, ONODETYPE_DROPLIST_FONTS);TREE_ADD_LABEL(_NODE_LABEL);
This macro creates a font combo list in the dialogbox.
EX1
void GETN_FONT_Ex1(int nIndex) { GETN_TREE(testTree) GETN_FONT(Face, "face", FontFaceIndex_to_DWORD(nIndex)) if(GetNBox(testTree)) out_tree(testTree); }
GetNBox.h