Smooth scrolling on win32 app using logitech mouse

Hari 6 Reputation points
2022-04-09T15:06:18.707+00:00

How do I receive finer delta values "ultrahighresolutionscrollingaware" when scrolling using my logitech mouse which supports smooth scrolling. I am able to smooth scroll on all browser using it, but when I scroll in my app, I only receive (+/-)120.

When I scrolling using the touchpad in my app, I receive finer delta values ( close to 1 ).

What do I need to set or enable in my code to receive smaller delta values when scrolling using the logitech mouse?
How are all the browsers able to do? Please help...

One thing I noticed, if I set chrome or edge as the foreground app (top-most) and point the mouse at my app and scroll using the mouse, then I receive ultra high resolution delta values. Then my app smooth scrolls.

I am on Windows 11, and coding using VS 2022.

I also tried setting

<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<ultraHighResolutionScrollingAware xmlns="http://schemas.microsoft.com/SMI/2013/WindowsSettings">true</ultraHighResolutionScrollingAware>
</windowsSettings>
</application>

and it did not help.

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
737 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,469 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,604 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,461 Reputation points
    2022-04-14T08:46:55.98+00:00

    Hello Hari-1269

    In this case, it seems that you are using the manifest correctly, but for some reason is not taking effect,

    I would recommend to send a feedback to the Visual Studio team to collect more information and help with the issue:

    You can create a feedback communication following the steps here:
    https://learn.microsoft.com/en-us/visualstudio/ide/how-to-report-a-problem-with-visual-studio?view=vs-2017#faq

    --------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments