Results 1 to 3 of 3

Thread: Touch the screen by command

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    7

    Touch the screen by command

    Hi

    I want to send a click command on a particular location, exactly like a TOUCH ON THE SCREEN by codings. Is it possible (VB.NET 2003)

    Regards
    Mohamed Faisel

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Touch the screen by command

    Hi,
    you could probably do
    Dim x As New System.Windows.Forms.MouseEventArgs(Windows.Forms.MouseButtons.Left, 1, 100, 200, 0)
    form1_mouseDown(Me, x)

    but just out of interest, why?

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: Touch the screen by command

    Yeah, what is the advantage of touching the screen in a certain place? That would have the same effect as calling the click event of a control at that location if a control exists there and responds to click events. Calling the control directly would be easier than simulating a click event.
    My usual boring signature: Nothing

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