Which window is "on top"?
4 views (last 30 days)
Show older comments
I have a program what actively interacts with the user. In one part of my software, I want to know if a specific window is "on top". How do I find that out?
0 Comments
Answers (1)
Walter Roberson
on 28 Jul 2025
get(groot,'CurrentFigure')
However, I do not know at the moment whether CurrentFigure includes figures whose handle visibility is set off; handle visibility off is the default for uifigure()
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!