I have 5 radio buttons
() radio1
() radio2
......
When I do:
CButton *color;
CRect r;
GetDlgItem(IDC_RADIO1)->GetWindowRect(r);
color=new CButton();
color->Create(NULL,WS_VISIBLE|WS_CHILD|BS_FLAT,r,this,1230);
an button apperas, but on the position of IDC_RADIO2 and not IDC_RADIO1, why could that be?
() radio1
() radio2
......
When I do:
CButton *color;
CRect r;
GetDlgItem(IDC_RADIO1)->GetWindowRect(r);
color=new CButton();
color->Create(NULL,WS_VISIBLE|WS_CHILD|BS_FLAT,r,this,1230);
an button apperas, but on the position of IDC_RADIO2 and not IDC_RADIO1, why could that be?