Page 1 of 1

application always on top

Posted: Wed Mar 11, 2015 10:10 am
by Timm
Hi!
Is it possible to set an application always on top?
So that is always visible even if another application has the focus.
Best regards, Timm.

application always on top

Posted: Wed Mar 11, 2015 10:14 am
by ignacio
Timm escribiĆ³ el miĆ©, 11 marzo 2015 10:10
Hi!
Is it possible to set an application always on top?
So that is always visible even if another application has the focus.
Best regards, Timm.

SetWindowPos( oForm:Handle, HWND_TOPMOST, 0, 0, 0, 0, nOr( SWP_NOMOVE, SWP_NOSIZE ) )
Regards,

application always on top

Posted: Wed Mar 11, 2015 10:17 am
by jfgimenez
Timm,
> Is it possible to set an application always on top?
> So that is always visible even if another application has
> the focus.
try this:
SetWindowPos( Application:oMainForm:Handle, HWND_TOPMOST,,,,, nOr(
SWP_NOMOVE, SWP_NOSIZE ) )
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

application always on top

Posted: Wed Mar 11, 2015 10:29 am
by Timm
Ignacio, Jose,
works great!
Your support is incredibly good, thank you very much.
Best regards, Timm.