How to simulate the virtual mouse with mouse cursor with C#? RRS feed

  • 问题

  • I want to simulate a virtual mouse with cursor,so i can use code to control it to do some automation service software, It doesn't conflict with real mouse. Does everyone know how to do this?  thx. 
    2017年11月8日 3:34


  • Hi,

    Thank you for posting here.

    Since the current forum is Chinese forum, I will move the case to general discussion issue forum.

    you can post issue on English forum, please see the following link.

    As far as I know that you can reference the following method to simulate virtual mouse within windows form project.

    Windows Forms provides several options for programmatically simulating mouse and keyboard input. This topic provides an overview of these options.

    For more information, please see the document.

    Best Regards,


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    • 已建议为答案 Hart Wang 2017年11月9日 5:56
    • 取消建议作为答案 Hart Wang 2017年11月23日 3:13
    2017年11月8日 7:18