Results 1 to 2 of 2

Thread: VB Mouse Driver

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    7

    Lightbulb

    I want to create a VB program that runs in the background and controls the position of the mouse and sends left / right / single / double click messages to windows. (basically, a VB Mouse Driver) I know that you can SET the mouse position in VB, but before I get started, is it possible to SEND Click events to Windows? (as apposed to receiving them from VBforms, etc.) If not possible directly from VB, how can I create a mouse driver that I can control from my VB application?

  2. #2
    Addicted Member jcouture100's Avatar
    Join Date
    Aug 1999
    Posts
    141
    You need to use the Mouse_Event or SendInput Function. Check out the VBAPI site for info on those API Calls. It gives the declarations and example code.

    http://www.vbapi.com/ref/m/mouse_event.html

    Hope this helps.
    JC

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