Jump to content

Beginners question regarding floating menus


tm1975
 Share

Recommended Posts

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.

Link to comment
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.

Link to comment
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
 Share

  • Recently Browsing   0 members

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