Windows Multitouch and LabView Events

I'm having problems with multi-touch and LabView .

My goal is to intercept Windows Touch messages (created by multi-touch monitors, and then interpreted and processed by Windows 7), which are designed for all and all windows belonging to the LabVIEW program. <w> This will prevent Windows Touch Touch from communicating with LabVIEW , allowing me to use touch messages to create custom responses in LabVIEW . And it will still allow Windows to use touch messages as usual for any other programs that the user can interact with.

LabVIEW not registered with Windows 7 specifically for interpreting Windows Touch messages. Therefore, it processes them using the default answers of Windows 7.

I developed a library for LabVIEW that creates custom multitouch responses, but this requires that I provide my own driver for the multitouch monitor used so that Windows 7 does not listen to messages about touch events and converts them to its set of touch messages. This is inefficient since I want users to be able to connect and play any commercial monitor with multiple monitors using my code, and I do not want to write special drivers for each type of monitor.

So, I want to intercept touch messages intended for LabVIEW (and only those Windows Touch messages) so that they

  • Never get to LabVIEW
  • You can then send my existing program to re-interpret via TCP messages through localhost (this is apparently the best way I've found so far).

If anyone has any ideas, I would be extremely grateful!

+6
source share
2 answers

Use the structure of the event handler in the while loop and register only those events that LabVIEW should handle.

0
source

LabVIEW does not see Windows touch events, as you already know. You see only those events that you can use in the event structure . However, there are ways to use .Net Callbacks to view other Windows events. You can then create custom events to pass the event back to your event structure . Below are some links that may help:

  1. Capturing Windows system events without polling (Windows)
  2. Windows Message Queuing Library
  3. Use the Windows touchscreen (multi-touch) and distinguish between get touch event and mouse click
0
source

All Articles