CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2013
    Posts
    5

    WPF and virtual Mouse Click

    Hi
    I need to generate a mouse click for any control themed or not on a Window from the view model. I need to to a Click Programmatically because I am gating on a flag coming from a a hardware device, a Leap Controller. I need to be able to get the event or "Gesture" from the device and Click on the window the mouse is over.

    I need to figure out what window the mouse is over and click it. I can't do it with Win32 User32 calls, they do not work.
    Does anyone know how to find the mouse position, what control it is over and click it?

    It would really help me.
    Thanks

    --Pete.

  2. #2
    Join Date
    Jan 2014
    Location
    Eritrea
    Posts
    1

    WPF and virtual Mouse Click

    i would like set wheel up to: key A and then do also a mouse left click.Is it possible?

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