Jump to content

Recommended Posts

Posted (edited)

Hello All,

i have tree view in my application. I need to Right->Click on tree view item, and in that context menu i need to select one item. I am able to rightclick on tree view item but not able to click on the context menu. Please help.

Please find the code bellow

_GUICtrlTreeView_ClickItem($Navighandle, $hItemFound, "right")
 sleep(2000)
$Contexthandle = ControlGetHandle("[Class:WindowsForms10.window.20808.app.0.378734a]", "", "")
Edited by Kris123
Posted

Hi

Thanks for the reply.I am able to right click,but not able to click on the item in the context menu because,

1. I am not getting only the class name of that context menu.

2. I am able to get the handle of the context menu but don't know how to click on the inside menu list.

3. Please tell me the procedure to do that.

Thanks in advance.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...