12-16-2015, 01:27 PM
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
To get exact Z order regardless of visible/hidden, use Windows API functions. Example:
Macro Macro2762