From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



如何取得螢幕上滑鼠游標的位置?



主要軟體: LabVIEW Development Systems
主要軟體版本: N/A
主要軟體修正版本: N/A
次要軟體: N/A

問題:
有辦法取得螢幕上滑鼠游標的位置嗎?

解答:
你需要使用NI Developer Zone中的Windows API Utilities (32-bit) example。Get Cursor Position.vi被包含在這組vi中,它能讓你得到滑鼠游標的位置。

相關連結:
Developer Zone Example: Windows API Function Utilities (32-bit) for LabVIEW
KnowledgeBase 0GHA3UZL: Monitoring Mouse Position in LabWindows/CVI

附加檔案:





報告日期: 05/04/2000
最後更新: 12/19/2007
文件偏號: 1X3E2BHE