GETN_OPTION_MANUAL_RESIZE
#define GETN_OPTION_MANUAL_RESIZE(_STR) _tmpNode.SetAttribute(STR_RESIZE_DIALOG, _STR);
GetNBox by default is not resizable, the dialog size is automatically determined to avoid scroll bars in the DynaControl, but you can turn this off and to allow manual resizing
EX1
#include <GetNbox.h> void GETN_OPTION_MANUAL_RESIZE_ex1() { string strText = "Line1\nLine2\nLine3"; GETN_TREE(tr) GETN_OPTION_MANUAL_RESIZE("200|300|AddUserCommentsDlg") GETN_STR(comments, "", strText) GETN_MULTILINE_TEXT(comments, " ", strText) GETN_OPTION_DISPLAY_FORMAT(DISPLAY_EDITOR_LEFT) if(!GetNBox(tr, "User Comments", "Add Comments to a Table")) out_tree( tr ); }
GETN_BOX, GETN_TREE
GetNbox.h