ياريت تقولو لي وين الخطأ في هذا البرنامج المكتوب بفيجول سي بلس بلس
تعبت وانا أحاول اكتشف الخطأ وما أفلحت أرجو المساعدة للضرورة
[php]void CJJDlg::OnButton1()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
char state[50];
int CHK;
CHK=GetCheckRadioButton(IDC_RADIO1,IDC_RADIO2);
if(CHK==0)
strcpy(state,"non ......... color");
if(CHK==IDC_RADIO1)
strcpy(state,"color is red");
if(CHK==IDC_RADIO1)
strcpy(state,"color is green");
if(ms==0)
strcat(state,"speed:20 mph");
if(ms==1)
strcat(state,"speed:55 mph");
if(ms==2)
strcat(state,"speed:70 mph");
me.SetSel(0,-1);
me.ReplaceSel(state);
}