Click to See Complete Forum and Search --> : Touch the screen by command
mohdfaisel
Jul 19th, 2007, 10:18 AM
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
petevick
Jul 19th, 2007, 10:37 AM
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
Shaggy Hiker
Jul 19th, 2007, 04:54 PM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.