вот примерный код:
CODE:
group_property=CreateWindow(0, "BUTTON", "Основной", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 200, 170, 240, 170, gethwnd(2), 0, 0, 0);
check_property[0]=CreateWindow(0, "BUTTON", "Все", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 385, 169, 50, 20, gethwnd(2), 0, 0, 0);
check_property[1]=CreateWindow(0, "BUTTON", name_property[0][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 205, 190, 105, 20, gethwnd(2), 0, 0, 0);
check_property[2]=CreateWindow(0, "BUTTON", name_property[1][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 205, 210, 105, 20, gethwnd(2), 0, 0, 0);
check_property[3]=CreateWindow(0, "BUTTON", name_property[2][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 205, 230, 105, 20, gethwnd(2), 0, 0, 0);
check_property[4]=CreateWindow(0, "BUTTON", name_property[3][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 205, 250, 105, 20, gethwnd(2), 0, 0, 0);
check_property[5]=CreateWindow(0, "BUTTON", name_property[4][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 205, 270, 115, 20, gethwnd(2), 0, 0, 0);
check_property[6]=CreateWindow(0, "BUTTON", name_property[5][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 205, 290, 115, 20, gethwnd(2), 0, 0, 0);
check_property[7]=CreateWindow(0, "BUTTON", name_property[6][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 325, 190, 105, 20, gethwnd(2), 0, 0, 0);
check_property[8]=CreateWindow(0, "BUTTON", name_property[7][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 325, 210, 105, 20, gethwnd(2), 0, 0, 0);
check_property[9]=CreateWindow(0, "BUTTON", name_property[8][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 325, 230, 105, 20, gethwnd(2), 0, 0, 0);
check_property[10]=CreateWindow(0, "BUTTON", name_property[9][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 325, 250, 105, 20, gethwnd(2), 0, 0, 0);
check_property[11]=CreateWindow(0, "BUTTON", name_property[10][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 325, 270, 105, 20, gethwnd(2), 0, 0, 0);
group_property=CreateWindow(0, "BUTTON", "Основной", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 200, 170, 240, 170, gethwnd(2), 0, 0, 0);
check_property[0]=CreateWindow(0, "BUTTON", "Все", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 385, 169, 50, 20, gethwnd(2), 0, 0, 0);
check_property[1]=CreateWindow(0, "BUTTON", name_property[0][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 205, 190, 105, 20, gethwnd(2), 0, 0, 0);
check_property[2]=CreateWindow(0, "BUTTON", name_property[1][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 205, 210, 105, 20, gethwnd(2), 0, 0, 0);
check_property[3]=CreateWindow(0, "BUTTON", name_property[2][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 205, 230, 105, 20, gethwnd(2), 0, 0, 0);
check_property[4]=CreateWindow(0, "BUTTON", name_property[3][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 205, 250, 105, 20, gethwnd(2), 0, 0, 0);
check_property[5]=CreateWindow(0, "BUTTON", name_property[4][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 205, 270, 115, 20, gethwnd(2), 0, 0, 0);
check_property[6]=CreateWindow(0, "BUTTON", name_property[5][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 205, 290, 115, 20, gethwnd(2), 0, 0, 0);
check_property[7]=CreateWindow(0, "BUTTON", name_property[6][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 325, 190, 105, 20, gethwnd(2), 0, 0, 0);
check_property[8]=CreateWindow(0, "BUTTON", name_property[7][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 325, 210, 105, 20, gethwnd(2), 0, 0, 0);
check_property[9]=CreateWindow(0, "BUTTON", name_property[8][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 325, 230, 105, 20, gethwnd(2), 0, 0, 0);
check_property[10]=CreateWindow(0, "BUTTON", name_property[9][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 325, 250, 105, 20, gethwnd(2), 0, 0, 0);
check_property[11]=CreateWindow(0, "BUTTON", name_property[10][0], BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE, 325, 270, 105, 20, gethwnd(2), 0, 0, 0);
Спасибо, всем откликнувшимся.