1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
for (int i=0; i < children.size(); i++) {
cname="Child ";
cname.append(NumberToString(i + 1));
AddItemLabel(hwnd, wc_children[i].wcc_chld_nmlabel,cname,vpos,30,60);
AddItemEditTXT(hwnd, wc_children[i].wcc_chld_nm,children[i].getcname(),vpos,95,100);
AddItemLabel(hwnd, wc_children[i].wcc_chld_agelabel,(string)"13+",vpos,205,30);
AddItemChkBox(hwnd, wc_children[i].wcc_chld_age,children[i].isteen(),vpos,240);
vpos=vpos+vposadd;
for (int j=0; j < adults.size();j++) {
aname = adults[j].getaname();
wc_children[i].wcc_chld_adlt_nmlabel.push_back(NULL);
//wcchildren[i].wcc_chld_adlt_rlt.push_back(NULL);
//AddItemLabel(hwnd, wcchildren[i].wcc_chld_adlt_nmlabel[j],aname,vp,50,100
//AddRltDropDown(hwnd, wcchildren[i].wcc_chld_adlt_rlt[j],0,vp,155,140);
//AddItemLabel(hwnd, wcchildren[i].wcc_chld_adlt_carelabel[j],(string)"Nights Care",vp,305,80);
//AddItemEditNMB(hwnd, wcchildren[i].wcc_chld_adlt_care[j],0,vp,390,30);
vpos=vpos+vposadd;
}
}
|