Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simulate left mouse click

Status
Not open for further replies.

AristoSamar

Programmer
Jan 30, 2006
6
GB
hello there,
just registered with this forum.
I have been learning C# for a month or so, before I've been using C++ with Win32Api for a few years.
C# looks really fantastic, especially with .NET classes.

I need help about (look topic)
I have IE opened in fullscreen mode and I need my program to click on (back) button periodically. Is there some function I can use to achieve that?

Greets
Mariusz

ps. I use VS2005 and WinXp

 
Do you need to actually click the back button? can you get away with a SendKeys() method (Alt + backarrow)?
 
the Back button is on foregin window (not my application's one) I wanted to place mouse coursor on the button manualy and from my application just simulate left mouse click (as I would do that just by real clicking)

is it possible?

greets
Mariusz

 
the other option, depending on what you are doing, would be to use the web browser control in C# and add it to a form. Then navigate back and forth as needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top