Browse Source

Fixed issue with clicking on image in description and up/down arrows stop working

sabrogden 7 years ago
parent
commit
5d042b442d

+ 1 - 0
Addins/DittoUtil/DittoUtil.vcxproj

@@ -21,6 +21,7 @@
   <PropertyGroup Label="Globals">
     <ProjectGuid>{CF8F6379-5340-4494-8E59-2807ADF37B95}</ProjectGuid>
     <Keyword>MFCDLLProj</Keyword>
+    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">

+ 1 - 0
EncryptDecrypt/EncryptDecrypt.vcxproj

@@ -20,6 +20,7 @@
   </ItemGroup>
   <PropertyGroup Label="Globals">
     <ProjectGuid>{F08A8736-1116-4166-AF88-CF533E41E958}</ProjectGuid>
+    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">

+ 1 - 0
FocusHighlight/FocusHighlight.vcxproj

@@ -14,6 +14,7 @@
     <ProjectGuid>{385F3F81-896E-41EF-AE32-98D8A026588F}</ProjectGuid>
     <RootNamespace>FocusHighlight</RootNamespace>
     <Keyword>MFCProj</Keyword>
+    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">

+ 8 - 1
ToolTipEx.cpp

@@ -1126,7 +1126,14 @@ void CToolTipEx::OnSetFocus(CWnd* pOldWnd)
 {
 	CWnd::OnSetFocus(pOldWnd);
 
-	m_RichEdit.SetFocus();
+	if (m_RichEdit.IsWindowVisible())
+	{
+		m_RichEdit.SetFocus();
+	}
+	else
+	{
+		GetParent()->SetFocus();
+	}
 }
 
 void CToolTipEx::OnPaint()

+ 1 - 0
focusdll/focus.vcxproj

@@ -21,6 +21,7 @@
   <PropertyGroup Label="Globals">
     <ProjectGuid>{E4AB8C80-F35F-451E-853B-07CEDD49E500}</ProjectGuid>
     <RootNamespace>focus</RootNamespace>
+    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">