In c + + BUILDER XE8 created form WIN10 + large size multi-point touch screen devices (60 inches, is that class teaching whiteboard equipment), to perform zoom gestures, program will die!!!!!!
Application scenarios:
1, c + + BUILDER XE8 create an original FORM (no their own code)
2, after the operation, perform the zooming gesture, two fingers to stay away from far away, if the two fingers with one hand to perform zoom gestures, is not a problem,
3, will only in WIN10 system, Windows 7 will not
4, only in large size multi-point touch screen devices are
After screening, because in WIN10 multi-touch system, touch point of news is WM_POINTERDOWN, WM_POINTERUP, WM_POINTERUPDATE, main problem is the news WM_POINTERUPDATE if let him enter the default form WndProc function, the program may hang up (in) when performing a zoom gestures, think of a way to, after touch the message is intercepted the three, is converted to a conventional mouse messages: WM_LBUTTONDOWN, WM_LBUTTONUP, WM_MOUSEMOVE, then handle function does not perform the default form, so that we can avoid problems with the software is easily crashed,
But as the software in the actual use, found that the compatibility problems, namely on some larger screen, just click, can't drag, seemingly no WM_POINTERUPDATE messages, this is because the device is not in this province, is not convenient to the scene to check more detailed reasons,
So, the question is: how to don't touch the message processing, let c + + BUILDER XE8 version (or above) to create the form can be WIN10 + normal operation of large size multi-point touch screen devices? I feel this is a c + + BUILDER XE bugs, I do not know how to repair?
CodePudding user response:
Try the high version, 10.2.3 version,CodePudding user response: