Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在某处读到使用 GetSystemMetrics,可以确定屏幕是否为触摸屏。我在 Java 和 Lotus Script 中有这个函数的句柄。但是,我不确定如何处理它,以及如何确定屏幕是否为触摸屏。谢谢。
如果有触摸屏,带有 (SM_DIGITIZER) 索引的 GetSystemMetrics 应该返回非零值。