Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksoid <aleksoid@users.sourceforge.net>2008-07-24 13:59:26 +0400
committerAleksoid <aleksoid@users.sourceforge.net>2008-07-24 13:59:26 +0400
commit03f207433f75fd72aab4e0d4d2e859ddb99de239 (patch)
treeed351686cdbc12196027a10f0bf8db978b5d22a7 /src/apps/mplayerc/PPageTweaks.cpp
parent918ce379cea7011d6e79e2b2833d5cdf2fe0c762 (diff)
ADD : Feature Requests "2008-06-29 08:35" - disable minimizing in full screen mode on non default monitor, include setting on Tweaks page.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@682 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/PPageTweaks.cpp')
-rw-r--r--src/apps/mplayerc/PPageTweaks.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/apps/mplayerc/PPageTweaks.cpp b/src/apps/mplayerc/PPageTweaks.cpp
index 54420bdb8..328ce8c3f 100644
--- a/src/apps/mplayerc/PPageTweaks.cpp
+++ b/src/apps/mplayerc/PPageTweaks.cpp
@@ -40,6 +40,7 @@ CPPageTweaks::CPPageTweaks()
, m_fNotifyMSN(TRUE)
, m_fNotifyGTSdll(FALSE)
, m_GTSdllLink(_T("https://sourceforge.net/project/showfiles.php?group_id=82303&package_id=169521&release_id=371114"))
+ , m_fPreventMinimize(FALSE)
{
m_fWMASFReader = SUCCEEDED(CComPtr<IBaseFilter>().CoCreateInstance(
GUIDFromCString(_T("{187463A0-5BB7-11D3-ACBE-0080C75E246E}")))); // WM ASF Reader
@@ -63,6 +64,7 @@ void CPPageTweaks::DoDataExchange(CDataExchange* pDX)
DDX_Check(pDX, IDC_CHECK4, m_fNotifyMSN);
DDX_Check(pDX, IDC_CHECK5, m_fNotifyGTSdll);
DDX_Control(pDX, IDC_STATICLINKGTS, m_GTSdllLink);
+ DDX_Check(pDX, IDC_CHECK6, m_fPreventMinimize);
}
BOOL CPPageTweaks::OnInitDialog()
@@ -80,6 +82,8 @@ BOOL CPPageTweaks::OnInitDialog()
m_fNotifyMSN = s.fNotifyMSN;
m_fNotifyGTSdll = s.fNotifyGTSdll;
+ m_fPreventMinimize = s.m_fPreventMinimize;
+
UpdateData(FALSE);
return TRUE; // return TRUE unless you set the focus to a control
@@ -101,6 +105,8 @@ BOOL CPPageTweaks::OnApply()
s.fNotifyMSN = !!m_fNotifyMSN;
s.fNotifyGTSdll = !!m_fNotifyGTSdll;
+ s.m_fPreventMinimize = m_fPreventMinimize;
+
return __super::OnApply();
}