Jump to content
Sign in to follow this  

Click on toolbar buttons

Recommended Posts


Hi all,

Here i am unable to click on toolbar buttons.

When i execute the following code the button count it is giving as 0.

$hToolbar = ControlGetHandle("LG Network Client (Version 0.0.5)", "", "ProfUIS-ControlBar2")
               MsgBox(4096, "Information", "There are " & _GUICtrlToolbar_ButtonCount ($hToolbar) & " buttons")

Here the handle for toolbar i am getting is correct only i verified from AutoIT spy.

I tried to click using _GUICtrlToolbar_ClickIndex($hToolbar, 0, "left", true).

It is going to left corner of toolbar and it is clicking but not on button.

Please help.

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.