OSDN Git Service

2011/12/03 20:00:17
authorqwerty2501 <riot313@gmail.com>
Sat, 3 Dec 2011 11:00:17 +0000 (20:00 +0900)
committerqwerty2501 <riot313@gmail.com>
Sat, 3 Dec 2011 11:00:17 +0000 (20:00 +0900)
nlite/nlite_mailframe.h
nlite/nlite_property.h

index 1706e96..6c28526 100644 (file)
@@ -242,6 +242,8 @@ namespace nlite{
 
                        nliteProperty.CookieSetting();
 
+                       
+
                }
                static NLIB_RESULT LiveCallBack(NICOLIVE_EVENT eventType,NicoLiveStream_P pNicoLiveStream,LPVOID option,NICOLIVE_PARAM param1,NICOLIVE_PARAM param2);
        };
index f86c7e2..d6843dc 100644 (file)
@@ -67,6 +67,43 @@ skip:
                }
 
                void OnOK(UINT uNotifyCode, int nID, CWindow wndCtl){
+                       CButton nonRadio = GetDlgItem(IDC_RADIO_NONE);
+                       CButton ieRadio = GetDlgItem(IDC_RADIO_IE);
+                       CButton firefoxRadio = GetDlgItem(IDC_RADIO_FIREFOX);
+                       CButton chromeRadio = GetDlgItem(IDC_RADIO_CHROME);
+                       CButton iecmRadio = GetDlgItem(IDC_RADIO_IECM);
+
+                       if(nonRadio.GetCheck() == BST_CHECKED){
+
+                               this->browserType = BT_NOSETTING;
+
+                       }
+
+                       if(ieRadio.GetCheck() == BST_CHECKED){
+
+                               this->browserType = BT_INTERNET_EXPLORER;
+
+                       }
+
+                       if(firefoxRadio.GetCheck() == BST_CHECKED){
+
+                               this->browserType = BT_FIRE_FOX;
+
+                       }
+
+                       if(chromeRadio.GetCheck() == BST_CHECKED){
+
+                               this->browserType = BT_GOOGLE_CHROME;
+
+                       }
+
+                       if(chromeRadio.GetCheck() == BST_CHECKED){
+
+                               this->browserType = BT_IE_COMPONENT;
+
+                       }
+
+
                        EndDialog(nID);
                }
 
@@ -87,7 +124,6 @@ skip:
                }
 
 
-
        };
 
        struct CommentViewProperty{
@@ -304,6 +340,8 @@ skip:
 
                        cookieSettingwindow.DoModal();
 
+                       this->gp.browserType = cookieSettingwindow.GetBrowserType();
+
                }
 
        };