Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spy++ and windows closed when they lose focus

Tags:

windows

spy++

I would like to know if there is a way with Spy++ to get the properties of a window that is automatically closed when it loses the focus (which is what happens when I switch to Spy++). Thanks!

like image 405
Yannick Avatar asked Jul 02 '10 02:07

Yannick


2 Answers

Please try - Active Accessibility Object Inspector (32-bit UNICODE Release) , it may useful.

if not then please explain your question briefly.

Thanks.

like image 132
Shrik Avatar answered Oct 18 '22 05:10

Shrik


You need to use Messaging service in order to get the properties of the window. For example, if you want to know WID for menu item, you need to identify the target window by using Window Finder Tool from Window Tab of Message Option dialogue and then clear all messages from Message tab. You only need to choose VM_COMMAND. After that when you click any menu item from target window menu list, associated ID will be shown in Spy++ main window.

Hopefully the answer will be useful for you.

Thanks.

like image 45
white spot Avatar answered Oct 18 '22 03:10

white spot