2.3.1.83 GETN_SEPARATOR_LINE


Name

GETN_SEPARATOR_LINE

Declaration

#define GETN_SEPARATOR_LINE  {_tmpSubNode = _tmpNode.AddTextNode("", "Separator", ONODETYPE_SEPARATOR);}

Remark

This macro used to generate a separator in dynamic control

Examples

EX1

#include <GetNbox.h>
void GETN_SEPARATOR_LINE_ex1()
{
    GETN_BOX(trRoot)
    GETN_CHECK(Save, "Save Settings", false)
    GETN_NUM(Number, "Number of Items", 10)
    GETN_SEPARATOR_LINE //generate a separator line
    GETN_CHECK(Show, "Show Result", false)
    if ( GetNBox(trRoot) )
        out_tree(trRoot);
    return;
}

See Also

GETN_GAP

Header to Include

GetNBox.h

Reference