开发者

Windows XP - hook into touchscreen event?

I'm working on a touchscreen product t开发者_如何转开发hat's deployed on Windows XP. I would like to be able to trap the event of the user pressing and holding down a certain area of the touchscreen for a certain period of time. Is there a low level way I can hook into Windows to capture an event like this?

TY, Fred


I would be extremely surprised if this was available. You can get some of the messages related to IE (windows resize etc and windows move in early versions) but I think that's it.

Thinking about it letting Webpages get very jiggy with the host OS would be asking for trouble.

If you have full control of the deployment environment (sounds like they might be workstations or terminal that you deploy?) your best bet might be to resort to somelike like ActiveX controls downloaded to the client to hook your messages for you and feed back from there in some way.


Consider using SetWindowsHookEx Function and WH_MOUSE_LL(value 13) in place of idHook parameter to hook mouse events More info at http://msdn.microsoft.com/en-us/library/ms644990%28v=vs.85%29.aspx http://support.microsoft.com/kb/318804

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜