diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2007-09-16 22:01:08 +0400 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2007-09-16 22:01:08 +0400 |
commit | d89bcbe908099230315689a1dba7a1ef2fa6b80a (patch) | |
tree | 7b913d123271cfe1271714984c6b7cb2a22bbfab /src/apps/mplayerc/PPageSheet.cpp | |
parent | e47d0d656bcc0a38cf0d6c4048b3492b280dea05 (diff) |
CHANGED: File format association. MPC is now recognize as a registered application by Vista, and compatible with UAC.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@226 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/PPageSheet.cpp')
-rw-r--r-- | src/apps/mplayerc/PPageSheet.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/apps/mplayerc/PPageSheet.cpp b/src/apps/mplayerc/PPageSheet.cpp index 440bce2c7..9541a3208 100644 --- a/src/apps/mplayerc/PPageSheet.cpp +++ b/src/apps/mplayerc/PPageSheet.cpp @@ -33,6 +33,7 @@ IMPLEMENT_DYNAMIC(CPPageSheet, CTreePropSheet) CPPageSheet::CPPageSheet(LPCTSTR pszCaption, IFilterGraph* pFG, CWnd* pParentWnd, UINT idPage)
: CTreePropSheet(pszCaption, pParentWnd, 0)
, m_audioswitcher(pFG)
+ , m_bLockPage(false)
{
AddPage(&m_player);
AddPage(&m_formats);
@@ -90,6 +91,9 @@ BOOL CPPageSheet::OnInitDialog() pTree->Expand(node, TVE_EXPAND);
}
+ if (m_bLockPage)
+ GetPageTreeControl()->EnableWindow (FALSE);
+
return bResult;
}
|