2.3.1.56 GETN_OPERATION


Name

GETN_OPERATION

Declaration

#define GETN_OPERATION(_TR_NAME)		GETN_NAMED_TREE(_TR_NAME, GUI) _tmpNode.SetAttribute(STR_OPERATION_TRY, "Try");

Remark

GETN_OPERATION constructs a base GetNbox tree with theme controls. This macro type can only be used once in one function, otherwise it will create "duplicate declaration" compile error. Can't use in one function of following marco in pairs too, GETN_NAMED_TREE, GETN_NAMED_TREE2, GETN_TREE, GETN_USE, GETN_BOX

Parameters

_TR_NAME
name of the tree.

Return

Examples

EX1

#include <GetNbox.h>
void GETN_OPERATION_ex1()
{
    GETN_OPERATION(testTree)
    GETN_STR(WksName, "Worksheet Name (please use short name)", "This is a test")
    if( GetNBox( testTree ))
        out_tree( testTree );
}

See Also

Header to Include

GetNbox.h

Reference