GETN_END_GROUP

 

Name

GETN_END_GROUP

Declaration

#define GETN_END_GROUP        _tmpSubNode.SetAttribute(STR_GROUP_BRANCH_ATTRIB, "0");

Remark

This macro is used with GETN_BEGIN_GROUP to group a set of control.

Examples

EX1

#include <GetNBox.h>
void GETN_END_GROUP_ex1()
{
    GETN_BOX(trRoot);
    GETN_CHECK(ExtraA, "ABC", false) //this node is not in the group
    GETN_COMBO(Order, "Polynomial Order", 2, "2|3|4|5|6") GETN_BEGIN_GROUP("User Settings")
    GETN_CHECK(abc, "Path Control", false)
    GETN_CHECK(def, "File Control", false)
    GETN_STR_GROUP(states, "Pick few US states", "CA", "|MA|CA|RI|VT|NY")
    GETN_CHECK(xyz, "Customize", true) GETN_END_GROUP
    GETN_CHECK(ExtraB, "XYZ", false); //this node is not in the group
    if ( GetNBox(trRoot) )
        out_tree(trRoot);
    return;
}

See Also

GETN_BEGIN_GROUP

header to Include

GetNBox.h

Reference