Jump to content
Sign in to follow this  
jinyue115

Is there got a function that able to click a button using its handle?

Recommended Posts

jinyue115

According to something wrong with my application 's Control ID and Advanced Class , i want to know is there got a function that able to click a button using its handle ?

Please advice , thank you .

Thanks for your reading .

Share this post


Link to post
Share on other sites
FlyinRiz

What exactly are you trying to do?

Share this post


Link to post
Share on other sites
FlyinRiz

I'm going to go out on a limb, and say the OP is trying to click a button via its handle.

Have you tried ControlClick?

Smartass ;)

Anyway, I meant the more general purpose of his script. I'm pretty sure the ControlClick only works with controlID of the button not the HWnd.

And quit picking on me, it's too late for that. :)

-Aaron

Share this post


Link to post
Share on other sites
FlyinRiz

:)

I wernt sure myself but i've just tried it, and you can ControlClick using the buttons handle.

So the answer is ControlClick.

Good to know! I learned something today ;) Now I can slack off the rest of the day ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×