GETN_PICTURE
#define GETN_PICTURE(_NODE_NAME, _NODE_LABEL) _tmpSubNode = _tmpNode.AddNode(#_NODE_NAME, TRGP_PICTURE);TREE_ADD_LABEL(_NODE_LABEL); _tmpSubNode.strVal = "";
This macro creates a picture holder in the dialogbox.
EX1
#include <GetNBox.h> void GETN_PICTURE_ex1() { GraphPage gp; gp.Create("origin.otp"); PictureHolder ph; page_get_picture(gp, ph); GETN_TREE( treeTest ); GETN_PICTURE(Picture, "Picture"); treeTest.Picture.pict = ph; GetNBox(treeTest, "test", "Test...", NULL, NULL); out_tree(treeTest); }
GetNbox.h