Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
'win' all windows same class, result = also stack order?
#2
The array matches the Z order, and does not include child windows (controls). But handles of visible windows are placed before hidden windows, even if some hidden windows are on top of visible windows in the Z order.

To get exact Z order regardless of visible/hidden, use Windows API functions. Example:
Macro Macro2762
Code:
Copy      Help
str winClass="#32770"
int w pw
BSTR bwc=winClass
rep
,w=FindWindowExW(0 pw bwc 0)
,if(!w) break
,pw=w
,
,outw w


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)