Is it possible somehow to get the handle of the window below the current active window retrieved by GetForegroundWindow, z-order wise? In other words, the window that is beneath the current one, no matter its size and position.
Is it possible somehow to get the handle of the window below the current
Share
You may try this pinvoke calls:
and use this as parameter
So first get the top window (or yours). After that call GetNextWindow and for the result handle again and again,… so you will get all windows