Figure Window Always on Top

版本 1.0.0.0 (3.8 KB) 作者: John Anderson
Avoid obscuring figure windows by ensuring they always remain on top.
3.9K 次下载
更新时间 2005/12/14

查看许可证

编者注: This file was a File Exchange Pick of the Week

My first attempt at a mex file making a simple call to the "SetWindowPos" function in the user32 library. This allows users to keep MATLAB figures on top, floating above all other windows even when focus is not on the target window.

Example ...

figure(1);
winontop('figure 1');

Tested on MATLAB Version 7.0.4.365 (R14) Service Pack 2 running under Operating System: Microsoft Windows XP Version 5.1 (Build 2600: Service Pack 2)

引用格式

John Anderson (2024). Figure Window Always on Top (https://www.mathworks.com/matlabcentral/fileexchange/8642-figure-window-always-on-top), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14SP3
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Graphics Objects 的更多信息
致谢

启发作品: WinOnTop

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

A couple of improvements have been made thanks to Ryan J Ollos. You are now able to toggle the winontop state and the position of the window is left unchanged during operation (rather annoying feature of previous version)