MATLAB Answers

Keep always on top

111 views (last 30 days)
nsbd on 19 May 2011
Commented: Adam Danz on 10 May 2021
hi guys
I want to, Keep always on top , guide figure ?
Can you give an example ? or link.
  1 Comment
Adam Danz
Adam Danz on 10 May 2021
For figures created by uifigure in Matlab R2021a or later, set the WindowStyle to 'alwaysontop'.

Sign in to comment.

Accepted Answer

Jan on 20 May 2011
There are a lot of tools for this job in the FEX, e.g. WindowAPI. This tool can use the Windows HWnd handle as input, such that I expect it to work on not-Matlab windows also - as long as you find a method to get the HWnd...
nsbd on 20 May 2011
problem was solved.thks

Sign in to comment.

More Answers (3)

Yoav Livneh
Yoav Livneh on 19 May 2011
nsbd on 19 May 2011
:( I wrote a small program for the game.trying.just Would be nice if this property :)

Sign in to comment.

nsbd on 19 May 2011
windowslivemessenger also have the option "always on top"
This Did he can be done?

Shaul Shvimmer
Shaul Shvimmer on 17 Mar 2020
Hi, I want to inform whoever incounters this challage using MATLAB's App Designer, there's a great solution written by Igor Varfolomeev, from my experiance it works great in MATLAB 2018b and 2019b:
Cheers, and thank you Igor!



Community Treasure Hunt

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

Start Hunting!

Translated by