Set figure window to be always on top.

버전 1.0.0.0 (1.8 KB) 작성자: Per-Anders Ekstrom
Changes the always-on-top window state.
다운로드 수: 4.5K
업데이트 날짜: 2007/2/27

라이선스 보기

SETALWAYSONTOP(HFIG,TRUE) will make Matlab figure with handle HFIG to be on top of other windows in the OS even though it might not be in focus.

SETALWAYSONTOP(HFIG,FALSE) will put figure back to normal window state.

SETALWAYSONTOP(HFIG) is the same as SETALWAYSONTOP(HFIG,TRUE).

Second boolean argument TRUE/FALSE can also be exchanged to numerical 1/0.

Restrictions:
HFIG must have property value: Visible = on.
HFIG must have property value: WindowStyle = normal.
Swing components must be available in the current Matlab session.

Example:
hFig = figure;
setAlwaysOnTop(hFig,true); % figure is now on top of other windows

인용 양식

Per-Anders Ekstrom (2024). Set figure window to be always on top. (https://www.mathworks.com/matlabcentral/fileexchange/14103-set-figure-window-to-be-always-on-top), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2006a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Interactive Control and Callbacks에 대해 자세히 알아보기
도움

도움 준 파일: WinOnTop

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0