diff options
author | Aleksoid <aleksoid@users.sourceforge.net> | 2009-12-23 05:56:32 +0300 |
---|---|---|
committer | Aleksoid <aleksoid@users.sourceforge.net> | 2009-12-23 05:56:32 +0300 |
commit | c2894ffd436b9b0588bfd3572a9b84607597e2a8 (patch) | |
tree | c809ef384291b4c3b15008b334b84d4bde28d7b5 /src/apps/mplayerc/PPageTweaks.cpp | |
parent | 0bbb5add0f3ce610431855822be6a7923a6a8c78 (diff) |
Change : Windows 7 taskbar features - enable/disable on the fly;
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1440 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/PPageTweaks.cpp')
-rw-r--r-- | src/apps/mplayerc/PPageTweaks.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/apps/mplayerc/PPageTweaks.cpp b/src/apps/mplayerc/PPageTweaks.cpp index 123f1bc47..3b2427150 100644 --- a/src/apps/mplayerc/PPageTweaks.cpp +++ b/src/apps/mplayerc/PPageTweaks.cpp @@ -24,6 +24,7 @@ #include "stdafx.h"
#include "mplayerc.h"
#include "PPageTweaks.h"
+#include "MainFrm.h"
// CPPageTweaks dialog
@@ -111,6 +112,10 @@ BOOL CPPageTweaks::OnApply() s.m_fPreventMinimize = m_fPreventMinimize;
s.m_fUseWin7TaskBar = m_fUseWin7TaskBar;
+ CMainFrame* pFrame = ((CMainFrame*)GetParentFrame());
+ if(m_fUseWin7TaskBar) pFrame->CreateThumbnailToolbar();
+ pFrame->UpdateThumbarButton();
+
return __super::OnApply();
}
|