How do I perform a click on the screen anywhere at runtime
example this is how you move the mouse at runtime

system.windows.forms.cursor.position = new point(500,400)

is there anyway to do something like that with a click?

Thanks in Advance

Nick Cammarata 14 yr. Old Programmer

For buttons, take a look at the PerformClick() event.
Otherwise, have a look at the function Focus().

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.