Home > Back-end > How to acquire the visible window area
How to acquire the visible window area
Time:09-29
Use GetRandomRgn can obtain viewing area of the window, but, like QQ, thunderbolt such window cover on it, use the interface to get to the viewing area is the area of the window (QQ this window using the own UI engine, should be from already drawing window), now the problem is: 1. Whether there is any API interface, can get to the window of viewing area??
Think of a solution is: the enumeration of the current window, and then calculate the window is not coverage of the area, but also has a problem like this: 2. Two Windows of Z - Order sequence is how to judge? (for example: in the QQ window, our window in the middle, thunderbolt window under the most, then only need to compute is not part of QQ window override)