Moving mouse cursor programmatically

前端 未结 1 569
猫巷女王i
猫巷女王i 2020-11-29 02:33

To start out I found this code at http://swigartconsulting.blogs.com/tech_blender/2005/08/how_to_move_the.html:

public class Win32
{
    [DllImport(\"User32.         


        
相关标签:
1条回答
  • 2020-11-29 02:55

    I believe that you're missing a correct WPARAM for the WM_LBUTTONDOWN message, which for the left-button is MK_LBUTTON

     #define MK_LBUTTON          0x0001
    
    0 讨论(0)
提交回复
热议问题