C++ RealTimeStylus is dead and doesn't handle any touch messages.

RL Chen 170 信誉分
2024-04-03T05:23:32.57+00:00

After some testing, I found that the RTS touch library on win7 sp1 systems has a probability of triggering an error: RealTimeStylus does not trigger, i.e. it does not trigger the touch callback class even if there is a touch point that has been pressed on the corresponding window. This problem disappeared after restarting the program, but it was caused by the fact that after starting the program, another program opened a full screen window and grabbed the focus, and then my program RTS died as if it didn't process any touch messages (my bound window was still on the top level). At the same time the RTS bound window has WS_EX_LAYERED and WS_EX_NOACTIVATE and HWND_TOPMOST and does not remove these flags. I am using C++.

Windows API - Win32
Windows API - Win32
一组适用于桌面和服务器应用程序的核心 Windows 应用程序编程接口 (API)。 以前称为 Win32 API。
47 个问题
C++
C++
一种通用的高级编程语言,作为 C 编程语言的扩展而创建,除了用于低级别内存操作的功能外,还具有面向对象、泛型和功能性等特点。
77 个问题
{count} 票