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!
Please try - Active Accessibility Object Inspector (32-bit UNICODE Release) , it may useful.
if not then please explain your question briefly.
Thanks.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With