I have a topmost window. I need it be the topmost over any other topmost window but not cover any fullscreen window: particularly: {Windows Media Player, Youtube flash player, RDP}
There is a solution with continuous checks:
- every YYY milliseconds I check is there(on the same display) another topmost window with dimensions equal to screen dimensions.
- if so: make my window non-topmost, otherwise make it topmost.
But Iām looking for another less resource-consuming solution which will not perform dozens of system calls and traverse the entire tree of topmost windows every second.
I can handle any WM_
I can inject hook into a process.
The problem:
How to detect a full screen window on the same desktop?
How to detect fullscreen mode using incoming WM_(s) or any technique other than continuous checking?