diff options
Diffstat (limited to 'src/apps/mplayerc/PPageCasimir.cpp')
-rw-r--r-- | src/apps/mplayerc/PPageCasimir.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/apps/mplayerc/PPageCasimir.cpp b/src/apps/mplayerc/PPageCasimir.cpp index 689460bf3..e437bda3a 100644 --- a/src/apps/mplayerc/PPageCasimir.cpp +++ b/src/apps/mplayerc/PPageCasimir.cpp @@ -123,6 +123,9 @@ BOOL CPPageCasimir::OnInitDialog() m_SliSaturation.SetPos ((int)(m_dSaturation*100));
}
+ GetDlgItem(IDC_FILE_POS)->EnableWindow(s.fKeepHistory);
+ GetDlgItem(IDC_DVD_POS)->EnableWindow(s.fKeepHistory);
+
GetDlgItem(IDC_INSTALLPN31)->SendMessage (BCM_SETSHIELD, 0, 1);
GetDlgItem(IDC_UNINSTALLPN31)->SendMessage (BCM_SETSHIELD, 0, 1);
@@ -135,6 +138,9 @@ BOOL CPPageCasimir::OnApply() AppSettings& s = AfxGetAppSettings();
+ GetDlgItem(IDC_FILE_POS)->EnableWindow(s.fKeepHistory);
+ GetDlgItem(IDC_DVD_POS)->EnableWindow(s.fKeepHistory);
+
s.dBrightness = m_dBrightness;
s.dContrast = m_dContrast;
s.dHue = m_dHue;
|