Sign in to follow this  
Followers 0
tm1975

Beginners question regarding floating menus

2 posts in this topic

Hi all,

I am trying to automate clicking on an item in a floating menu which is created via a right mouse click on a listbox.

I can automate the right click via ControlClick easily enough as I can get the Control Id of the list box.

The problem is when I put the Window Spy over the menu which is brought up by the right click, the menu disappears before I can get the right Control ID information of the menu item.

Any ideas on how I could get Control Id of the menu items on the floating menu?

If that does not make sense reply and I shall try to explain better.

I am on Windows Home Premium Edition.

Thanks in advance for your help.

Share this post


Link to post
Share on other sites



Hi all,

I am trying to automate clicking on an item in a floating menu which is created via a right mouse click on a listbox.

I can automate the right click via ControlClick easily enough as I can get the Control Id of the list box.

The problem is when I put the Window Spy over the menu which is brought up by the right click, the menu disappears before I can get the right Control ID information of the menu item.

Any ideas on how I could get Control Id of the menu items on the floating menu?

If that does not make sense reply and I shall try to explain better.

I am on Windows Home Premium Edition.

Thanks in advance for your help.

Found a solution - installed Windows 7 SDK and used the inspect application to get the control id. Has a mouse over feature which does not trigger the mouse over of the menu.

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