Obsolete. Use function Zorder or GetWinStyle. To create code, use dialog "Window/control actions".
ont[-] [window]
int ont([window])
| Default | on top. |
| - | not on top. |
Syntax1: Makes window always-on-top or not always-on-top, and also activates. Only top-level windows can have always-on-top style. If it is child window, brings it to the top or bottom of the Z order of direct parent window.
The speed depends on spe.
Syntax2: Returns 1 if window has always-on-top style, or 0 if not. If it is child window, returns 1 if it is in the top of the Z order, or 0 if not.