CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    How do I emulate Mouse Clicks?

    Im developing a Macro program and I would like to be able emulate a Mouse click
    and mouse double click in another window, which isnt the actual macro program, Please help!!


  2. #2
    Join Date
    Dec 1999
    Location
    Israel
    Posts
    101

    Re: How do I emulate Mouse Clicks?

    You may use API Function SendInput() with VK_LBUTTON for mouse click or API Function mouse_event() with full information about mouse buttons and coordinates.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured