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 development Windows App SDK
Windows development Windows API - Win32
Windows for business Windows Client for IT Pros User experience Other
{count} vote

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,916 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.