Touch中的水平和垂直滚动条行为差异(Windows 10) [英] Horizontal and Vertical Scroll bar behavior difference in Touch (windows 10 )
问题描述
在Windows 10标签中,观察到有时(当焦点改变到另一个窗口时)垂直滚动条在滚动滚动条的拇指时生成WM_GESTURE消息(在正常情况下捕获鼠标事件)。但是在水平
滚动条的情况下,无法生成WM_GESTURE。这种行为的原因是什么??
感谢您在这里发帖。
>>在Windows 10标签中,观察到有时(当焦点更改为另一个窗口时)垂直滚动条在滚动滚动条的拇指时生成WM_GESTURE消息(在正常情况下捕获鼠标事件)。但是在
水平滚动条的情况下,WM_GESTURE无法生成。这种行为的原因是什么......?
这对我来说听起来很奇怪。请提供有关不会生成手势消息的Windows的更多信息。
如果您没有收到WM_GESTURE消息,首先,您需要确保没有为该窗口调用RegisterTouchWindow。因为如果您调用RegisterTouchWindow,您将停止接收WM_GESTURE消息。
如果同一窗口的行为不同,您可以在以下论坛上将此问题发布给Microsoft。
https://developercommunity.visualstudio.com
希望这可能对你有帮助。
最好的问候,
In windows 10 Tab, It is observed that sometimes( when focus changed to another window) vertical scroll bars are generating WM_GESTURE message while scrolling the thumb of scroll bar( In normal case Mouse events are captured). But in the case of horizontal scrollbar, WM_GESTURE couldn't generated. What is the reason for this behavior...?
Hi ,
thanks for posting here.
>>In windows 10 Tab, It is observed that sometimes( when focus changed to another window) vertical scroll bars are generating WM_GESTURE message while scrolling the thumb of scroll bar( In normal case Mouse events are captured). But in the case of horizontal scrollbar, WM_GESTURE couldn't generated. What is the reason for this behavior...?
It sounds weird to me. Please provide more information about the Windows that won't generate the gesture message.
If you are not receiving WM_GESTURE messages, first of all, you need to make sure that you haven't called RegisterTouchWindow for that window. Because if you call RegisterTouchWindow, you will stop receiving WM_GESTURE messages.
If the behavior is different for the same window, you could post this issue to Microsoft on this forum below.
https://developercommunity.visualstudio.com
Hope this could be help of you.
Best Regards,
这篇关于Touch中的水平和垂直滚动条行为差异(Windows 10)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!