Jump to content

Recommended Posts

Posted

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.

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
×
×
  • Create New...