WM_TABLET_FLICK窗口proc消息是否仍在Windows 8.1中发送? [英] Is the WM_TABLET_FLICK window proc message still sent in Windows 8.1?

查看:110
本文介绍了WM_TABLET_FLICK窗口proc消息是否仍在Windows 8.1中发送?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序在Windows 7上运行时正在接收轻拂消息,但在Windows 8.1上,我得到短消息而不是轻弹的WM_GESTURE消息。  是否仍然支持WM_TABLET_FLICK或是否有另一种方法来检测电影?

解决方案

嗨Sam,



是的,Windows 8.1仍然支持WM_TABLET_FLICK。


下面的MSDN文档也确认了支持的最低客户端。但是,它仅适用于桌面应用程序(不是WinRT或metro应用程序)。



https://msdn.microsoft.com/en-us/library/windows/desktop/ms701172(v = VS .85).aspx



此外,WM_TABLET_FLICK 消息在空表单上收到。如果您的表单包含子控件,它将停止触发。相反,您可以使用WM_GESTURENOTIFY消息来获取正在接收WM_TABLET_MESSAGE的控件的句柄。有关详细信息,请参阅以下链接中的
讨论:


https://technet.microsoft.com/eS-es/library/dd353242.aspx



(请如果这可以解析您的查询,请标记为答案。如果有帮助,请提示。



问候,


拉杰什


My application is receiving Flick message when running on windows 7, but on windows 8.1 I get WM_GESTURE messages for short pans rather than flicks.  Is WM_TABLET_FLICK still supported or is there another way to detect flicks now?

解决方案

Hi Sam,

Yes, WM_TABLET_FLICK is still supported on Windows 8.1.

MSDN documentation below also confirms the minimum supported client. However, it applies only to desktop apps (not WinRT or metro apps).

https://msdn.microsoft.com/en-us/library/windows/desktop/ms701172(v=vs.85).aspx

Further, WM_TABLET_FLICK message is recieved on empty form. If your form contains child controls, it would stop firing. Instead, you can use WM_GESTURENOTIFY message to get the handle of the control which is receiving WM_TABLET_MESSAGE. Please see the discussion in the below link for more details:

https://technet.microsoft.com/eS-es/library/dd353242.aspx

(Please mark as answer if this resolves your query. Please upvote if it is helpful)

Regards,

Rajesh


这篇关于WM_TABLET_FLICK窗口proc消息是否仍在Windows 8.1中发送?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆