Mouse Support

Jul 2, 2012 at 9:29 AM

How do i send any mouse events? Like LButtonDwn LButtonUp Mouse Move. Give an example or function name to do things like that. Thanks.

Jul 3, 2012 at 8:58 AM

// Make sure you added the input simulator project
// to your solution, referenced it in the current project
// and used it like this:
using WindowsInput;

// ..then do the other stuff required for a working application...

// ... and during some initialization part create a new
// instance of the input simulator...
TheInputSimulator = new InputSimulator();

// ...and from then on you can send button events
// just like this...
TheInputSimulator.Mouse.LeftButtonDown();

Coordinator
Jul 10, 2012 at 3:24 AM
Hi there,

There's been code sitting in the repo that hasn't been released which simulates mouse events. Just download the latest version, compile and include in your application. There are some tests which should show you how to use the API.

Cheers,
Mike

On Tue, Jul 3, 2012 at 6:58 PM, ZoltanE <notifications@codeplex.com> wrote:

From: ZoltanE

// Make sure you added the input simulator project
// to your solution, referenced it in the current project
// and used it like this:
using WindowsInput;

// ..then do the other stuff required for a working application...

// ... and during some initialization part create a new
// instance of the input simulator...
TheInputSimulator = new InputSimulator();

// ...and from then on you can send button events
// just like this...
TheInputSimulator.Mouse.LeftButtonDown();

Read the full discussion online.

To add a post to this discussion, reply to this email (inputsimulator@discussions.codeplex.com)

To start a new discussion for this project, email inputsimulator@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Jul 11, 2012 at 10:38 AM

Good to hear, many thanks!