Fidel Posted July 20, 2008 Share Posted July 20, 2008 Hello, I'm controlling another program's treeview using ControlTreeview, and it works great. I can navigate to the leaf that I want. Now I want to invoke the context menu for that node. The only way I can do it is to use Send("{APPSKEY}"), which requires the window to have focus. I want to be able to do it without the window having focus. I've tried: ControlSend ($studioTitle, "", $treeviewID, "{APPSKEY}") but it has no effect. I know that I'm sending it to the right control because if I use ControlSend ($studioTitle, "", $treeviewID, "{DOWN}"), it actually moves to the next item. So: a) Is there another keystroke I can send it (instead of apps key) that will bring up the context menu? muttley Is there another approach I can take to get the context menu up? Thankyou! Fidel Link to comment Share on other sites More sharing options...
Fidel Posted July 21, 2008 Author Share Posted July 21, 2008 found the answer: ControlSend ($studioTitle, "", $treeviewID, "+{F10}") cheers! fidel Link to comment Share on other sites More sharing options...
rasim Posted July 21, 2008 Share Posted July 21, 2008 FidelAlso see a ControlTreeView() func. in the help. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now