GETN_CHECK

 

Name

GETN_CHECK

Declaration

#define GETN_CHECK(_NODE_NAME, _NODE_LABEL, _DEFAULT_VAL)  _tmpSubNode = _tmpNode.AddNumericNode((int)_DEFAULT_VAL, #_NODE_NAME, TRGP_CHECK);TREE_ADD_LABEL(_NODE_LABEL);

Remark

This macro creates a checkbox control in the GetN_Box dialog box.

Parameters

_NODE_NAME
[input] the name of the new node to be added to GetN_Box tree
_NODE_LABEL
[input] the string value to show the checkbox control in the dialogbox.
_DEFAULT_VAL
[input] integer contents as the default value to show in the combo box
>0 The checkbox is checked as default.
<=0 The checkbox is unchecked as default.

Return

Examples

EX1

#include <GetNbox.h>
void GETN_CHECK_ex1()
{
    GETN_BOX( treeTest );
    GETN_CHECK(TZ,"Through Zero", false)
    
    if( GetNBox( treeTest ))
        out_tree( treeTest );
}

See Also

GETN_CHECKBOX_BRANCH

header to Include

GetNbox.h

Reference