VB 如何在FORM外偵測滑鼠左/右鍵是否被按下和放開

2007-06-12 6:05 am
VB 如何在FORM外偵測滑鼠左/右鍵是否被按下和放開

回答 (2)

2007-06-12 12:21 pm
✔ 最佳答案
要用到Windows API去做,但程式會複雜好多。
你可以係msdn度search GetAsyncKeyState
2007-06-12 9:14 am
I think you can't program any mouse event handling if it is triggered out of the win form you are coding, the reason is your form is not the activating form at that moment.

Just like you click anywhere out of the IE and that click must not be handling by IE.


收錄日期: 2021-04-12 21:55:24
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20070611000051KK04874

檢視 Wayback Machine 備份