Returns whether the left checkbox of the node is checked.
bool tree_is_left_checkbox_checked( TreeNode & trN )
false if the node is invalid or the left checkbox is unchecked, otherwise true
EX1
#include <GetNbox.h> void tree_is_left_checkbox_checked_ex() { GETN_TREE( tr ); GETN_NUM(Min, "Min", 0) GETN_ADD_LEFT_CHECK(false) GETN_ADD_LEFT_CHECK_TYPE(DYNA_USE_CHECK_TYPE_ENABLE) GETN_NUM(Max, "Max", 100) GETN_ADD_LEFT_CHECK(false) GETN_ADD_LEFT_CHECK_TYPE(DYNA_USE_CHECK_TYPE_SHOW) if( GetNBox( tr )) { out_tree( tr ); foreach(TreeNode tn in tr.Children) { bool bCheck = tree_is_left_checkbox_checked(tn); printf("%s is %s\n", tn.tagName, bCheck? "checked" : "unchecked"); } } }
GETN_ADD_LEFT_CHECK
origin.h