there is a GETN_USE macro, like this
void bb(TreeNode& trGetN)
{
GETN_USE(trGetN)
GETN_STR(SName,"Some Name","")
GetNBox(trGetN,"Names","Names");
}
void aa()
{
string CustomersList = "John|Sam|Andy|Mike";
GETN_BOX(UITree)
GETN_LIST(CName, "Customer Name", 1, CustomersList)
if(GetNBox(UITree,"Customers","Select the Customer"))
bb(UITree);
}
CP