break;
+ case BT_SAFARI:
+
+ radio = GetDlgItem(IDC_RADIO_SAFARI);
+ break;
+
+
+ case BT_OPERA:
+
+ radio = GetDlgItem(IDC_RADIO_OPERA);
+
+ break;
+
default:
goto skip;
}
CButton firefoxRadio = GetDlgItem(IDC_RADIO_FIREFOX);
CButton chromeRadio = GetDlgItem(IDC_RADIO_CHROME);
CButton iecmRadio = GetDlgItem(IDC_RADIO_IECM);
+ CButton safariRadio = GetDlgItem(IDC_RADIO_SAFARI);
+ CButton operaRadio = GetDlgItem(IDC_RADIO_OPERA);
if(ieRadio.GetCheck() == BST_CHECKED){
this->browserType = BT_INTERNET_EXPLORER;
+
+ }else if(firefoxRadio.GetCheck() == BST_CHECKED){
- }
+ this->browserType = BT_FIRE_FOX;
- if(firefoxRadio.GetCheck() == BST_CHECKED){
+ }else if(chromeRadio.GetCheck() == BST_CHECKED){
- this->browserType = BT_FIRE_FOX;
+ this->browserType = BT_GOOGLE_CHROME;
- }
+ }else if(iecmRadio.GetCheck() == BST_CHECKED){
- if(chromeRadio.GetCheck() == BST_CHECKED){
+ this->browserType = BT_IE_COMPONENT;
- this->browserType = BT_GOOGLE_CHROME;
+ }else if(safariRadio.GetCheck() == BST_CHECKED){
- }
+ this->browserType = BT_SAFARI;
- if(iecmRadio.GetCheck() == BST_CHECKED){
+ } else if(operaRadio.GetCheck() == BST_CHECKED){
- this->browserType = BT_IE_COMPONENT;
+ this->browserType = BT_OPERA;
+
+ }else {
+
+ this->browserType = BT_NOSETTING;
}
+
EndDialog(nID);
}