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:
Diffstat (limited to 'src/mpc-hc/PlayerNavigationDialog.cpp')
-rw-r--r--src/mpc-hc/PlayerNavigationDialog.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mpc-hc/PlayerNavigationDialog.cpp b/src/mpc-hc/PlayerNavigationDialog.cpp
index a7b2f42ba..86e9c35d3 100644
--- a/src/mpc-hc/PlayerNavigationDialog.cpp
+++ b/src/mpc-hc/PlayerNavigationDialog.cpp
@@ -1,5 +1,5 @@
/*
- * (C) 2010-2014 see Authors.txt
+ * (C) 2010-2015 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -93,7 +93,11 @@ BOOL CPlayerNavigationDialog::OnInitDialog()
m_buttonFilterStations.SetWindowText(ResStr(IDS_DVB_TVNAV_SEETV));
}
- return TRUE; // return TRUE unless you set the focus to a control
+ ATOM atom = ::GlobalAddAtom(MICROSOFT_TABLETPENSERVICE_PROPERTY);
+ ::SetProp(m_channelList.GetSafeHwnd(), MICROSOFT_TABLETPENSERVICE_PROPERTY, nullptr);
+ ::GlobalDeleteAtom(atom);
+
+ return FALSE; // return FALSE so that the dialog does not steal focus
// EXCEPTION: OCX Property Pages should return FALSE
}