سؤال

In Spy++, can you click a Window in the list, then right-click it, select "Properties", and you will be shown a tab window in which you can select the tab "Windows".

In this window you can see the options "Next Window", "Previous Window", "Parent Window", etc..

If you click "Previous Window", it will show the previous window, but I am not sure in which way Spy++ determines what the "previous window" actually is.

I think Spy++ might looked up the previous window by using a constant like GW_PREVIOUS, but there is no such constant.

How or what does Spy++ do in such a case? Or does it only use the z-order of the windows?

Thank you.

هل كانت مفيدة؟

المحلول

It's using the constant GW_HWNDPREV. Not sure how you missed it since it's right there with all the other GW_ values.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top