2022-01-24 13:29:16 +00:00
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets= "Build" ToolsVersion= "15.0" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
2024-02-13 13:55:14 +00:00
<Import Project= "..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props" Condition= "Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props')" />
2022-01-24 13:29:16 +00:00
<PropertyGroup Label= "Globals" >
<VCProjectVersion > 15.0</VCProjectVersion>
<ProjectGuid > {eae14c0e-7a6b-45da-9080-a7d8c077ba6e}</ProjectGuid>
<Keyword > Win32Proj</Keyword>
2022-01-26 14:01:24 +00:00
<RootNamespace > MousePointerCrosshairs</RootNamespace>
<ProjectName > MousePointerCrosshairs</ProjectName>
2022-01-24 13:29:16 +00:00
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project= "..\..\..\..\deps\spdlog.props" />
2022-05-11 13:35:18 +03:00
<PropertyGroup Condition= "'$(Configuration)'=='Debug'" Label= "Configuration" >
2022-01-24 13:29:16 +00:00
<ConfigurationType > DynamicLibrary</ConfigurationType>
<UseDebugLibraries > true</UseDebugLibraries>
2022-02-07 06:08:30 -08:00
<PlatformToolset > v143</PlatformToolset>
2022-01-24 13:29:16 +00:00
<CharacterSet > Unicode</CharacterSet>
</PropertyGroup>
2022-05-11 13:35:18 +03:00
<PropertyGroup Condition= "'$(Configuration)'=='Release'" Label= "Configuration" >
2022-01-24 13:29:16 +00:00
<ConfigurationType > DynamicLibrary</ConfigurationType>
<UseDebugLibraries > false</UseDebugLibraries>
2022-02-07 06:08:30 -08:00
<PlatformToolset > v143</PlatformToolset>
2022-01-24 13:29:16 +00:00
<WholeProgramOptimization > true</WholeProgramOptimization>
<CharacterSet > Unicode</CharacterSet>
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label= "ExtensionSettings" >
</ImportGroup>
<ImportGroup Label= "Shared" >
</ImportGroup>
2022-05-11 13:35:18 +03:00
<ImportGroup Label= "PropertySheets" >
2022-01-24 13:29:16 +00:00
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label= "UserMacros" />
2022-05-11 13:35:18 +03:00
<PropertyGroup >
2023-07-20 00:12:46 +01:00
<OutDir > ..\..\..\..\$(Platform)\$(Configuration)\</OutDir>
2022-01-26 14:01:24 +00:00
<TargetName > PowerToys.MousePointerCrosshairs</TargetName>
2022-01-24 13:29:16 +00:00
</PropertyGroup>
2022-05-11 13:35:18 +03:00
<PropertyGroup Condition= "'$(Configuration)'=='Debug'" >
<LinkIncremental > true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)'=='Release'" >
2022-01-24 13:29:16 +00:00
<LinkIncremental > false</LinkIncremental>
</PropertyGroup>
2022-05-11 13:35:18 +03:00
<ItemDefinitionGroup Condition= "'$(Configuration)'=='Debug'" >
2022-01-24 13:29:16 +00:00
<ClCompile >
<WarningLevel > Level3</WarningLevel>
<Optimization > Disabled</Optimization>
<SDLCheck > true</SDLCheck>
<PreprocessorDefinitions > _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode > true</ConformanceMode>
2025-11-12 10:39:21 +08:00
<RuntimeLibrary > MultiThreadedDebug</RuntimeLibrary>
2022-01-24 13:29:16 +00:00
<LanguageStandard > stdcpplatest</LanguageStandard>
</ClCompile>
<Link >
<SubSystem > Windows</SubSystem>
<GenerateDebugInformation > true</GenerateDebugInformation>
<OutputFile > $(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Link>
</ItemDefinitionGroup>
2022-05-11 13:35:18 +03:00
<ItemDefinitionGroup Condition= "'$(Configuration)'=='Release'" >
2022-01-24 13:29:16 +00:00
<ClCompile >
<WarningLevel > Level3</WarningLevel>
<Optimization > MaxSpeed</Optimization>
<FunctionLevelLinking > true</FunctionLevelLinking>
<IntrinsicFunctions > true</IntrinsicFunctions>
<SDLCheck > true</SDLCheck>
<PreprocessorDefinitions > NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode > true</ConformanceMode>
2025-11-12 10:39:21 +08:00
<RuntimeLibrary > MultiThreaded</RuntimeLibrary>
2022-01-24 13:29:16 +00:00
<LanguageStandard > stdcpplatest</LanguageStandard>
</ClCompile>
<Link >
<SubSystem > Windows</SubSystem>
<EnableCOMDATFolding > true</EnableCOMDATFolding>
<OptimizeReferences > true</OptimizeReferences>
<GenerateDebugInformation > true</GenerateDebugInformation>
<OutputFile > $(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup >
<ClCompile >
Add key to cancel gliding cursor (#41985)
## Summary of the Pull Request
Add low level keyboard hook to Gliding Cursor, this checks for 'Esc'
being pressed when gliding is active and cancels gliding, the mouse hook
passed keys down the hook chain.
## PR Checklist
- [x] Closes: #41972
- [x] **Communication:** I've discussed this with core contributors
already. If the work hasn't been agreed, this work might be rejected
- [ ] **Tests:** Added/updated and all pass
- [x] **Localization:** All end-user-facing strings can be localized
- [ ] **Dev docs:** Added/updated
- [ ] **New binaries:** Added on the required places
- [ ] [JSON for
signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json)
for new binaries
- [ ] [WXS for
installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs)
for new binaries and localization folder
- [ ] [YML for CI
pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml)
for new test projects
- [ ] [YML for signed
pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml)
- [ ] **Documentation updated:** If checked, please file a pull request
on [our docs
repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys)
and link it here: #xxx
## Detailed Description of the Pull Request / Additional comments
No changes to the list of binaries, no new strings for localization. The
Gliding Cursor functionality has 5 stages, these are: fast horizontal,
slow horizontal, fast vertical, slow vertical, and mouse click - adding
the keyboard hook and checking for 'Esc' allows this sequence to be
interrupted and reset to ready state.
## Validation Steps Performed
Validated Mouse Pointer Crosshairs (which Gliding Cursor is based on),
confirmed that Gliding Cursor functionality is unchanged and that the
'Esc' key cancels/resets the gliding cursor state.
---------
Co-authored-by: Gordon Lam (SH) <yeelam@microsoft.com>
2025-09-29 05:14:16 +01:00
<AdditionalIncludeDirectories > ..\..\..\;..\..\..\modules;..\..\..\common\Telemetry;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
2022-01-24 13:29:16 +00:00
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup >
2022-01-26 14:01:24 +00:00
<ClInclude Include= "InclusiveCrosshairs.h" />
2022-01-24 13:29:16 +00:00
<ClInclude Include= "pch.h" />
<ClInclude Include= "trace.h" />
<ClInclude Include= "resource.h" />
</ItemGroup>
<ItemGroup >
<ClCompile Include= "dllmain.cpp" />
2022-01-26 14:01:24 +00:00
<ClCompile Include= "InclusiveCrosshairs.cpp" />
2022-01-24 13:29:16 +00:00
<ClCompile Include= "pch.cpp" >
2024-03-22 03:29:14 -07:00
<PrecompiledHeader Condition= "'$(UsePrecompiledHeaders)' != 'false'" > Create</PrecompiledHeader>
2022-01-24 13:29:16 +00:00
</ClCompile>
<ClCompile Include= "trace.cpp" />
</ItemGroup>
<ItemGroup >
2022-01-26 14:01:24 +00:00
<ResourceCompile Include= "MousePointerCrosshairs.rc" />
2022-01-24 13:29:16 +00:00
</ItemGroup>
<ItemGroup >
<ProjectReference Include= "..\..\..\common\logger\logger.vcxproj" >
<Project > {d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project>
</ProjectReference>
2022-04-12 11:13:22 -04:00
<ProjectReference Include= "..\..\..\common\SettingsAPI\SettingsAPI.vcxproj" >
2022-01-24 13:29:16 +00:00
<Project > {6955446d-23f7-4023-9bb3-8657f904af99}</Project>
</ProjectReference>
</ItemGroup>
2022-10-12 04:19:01 -04:00
<ItemGroup >
<None Include= "packages.config" />
</ItemGroup>
2022-01-24 13:29:16 +00:00
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label= "ExtensionTargets" >
2024-02-13 13:55:14 +00:00
<Import Project= "..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets" Condition= "Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets')" />
2022-01-24 13:29:16 +00:00
</ImportGroup>
<Target Name= "EnsureNuGetPackageBuildImports" BeforeTargets= "PrepareForBuild" >
<PropertyGroup >
<ErrorText > This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
2024-02-13 13:55:14 +00:00
<Error Condition= "!Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props'))" />
<Error Condition= "!Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets'))" />
2022-01-24 13:29:16 +00:00
</Target>
</Project>