Sign in to follow this  
Followers 0
Kris123

Click in Contextmenu

4 posts in this topic

#1 ·  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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

whatever Edited by MvGulik

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

whatever Edited by MvGulik

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

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  
Followers 0