【問題】VB 滑鼠控制


Recommended Posts

我朋友給了我一個程式

是會讓你的滑鼠在程式的方框內不能移動

似乎是控制滑鼠的移動範圍

或是控制讓滑鼠鎖在某一點上禁止移動

可是我嘗試用mousemove

可是我不會寫T_T

要怎麼控制滑鼠的移動

或是控制滑鼠的移動範圍

了解的拜託敎一下

鏈接文章
分享到其他網站
  • 6 months later...

I am not certain if the function is available in in Visual Basic, however, you can try this function in the user32.dll, it is called CilpCursor(). Check this page out: http://msdn.microsoft.com/en-us/library/ms648383(VS.85).aspx

PS: By the way, I don't reckon Visual Basic to be a good programming langauge, I would suggest you to switch to another langauge for anything but quick & dirty kind of User Interface design.

鏈接文章
分享到其他網站
  • 1 month later...

請登入後來留意見

在登入之後,您才能留意見



立即登入