In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

application always on top

Xailer professional forum in English
Timm
Posts: 93
Joined: Mon Jun 21, 2010 11:01 am

application always on top

Postby Timm » Wed Mar 11, 2015 10:10 am

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.
User avatar
ignacio
Site Admin
Posts: 8555
Joined: Mon Apr 06, 2015 8:00 pm
Location: Madrid, Spain
Contact:

application always on top

Postby ignacio » Wed Mar 11, 2015 10:14 am

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,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
User avatar
jfgimenez
Site Admin
Posts: 5620
Joined: Mon Apr 06, 2015 8:48 pm
Contact:

application always on top

Postby jfgimenez » Wed Mar 11, 2015 10:17 am

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
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Timm
Posts: 93
Joined: Mon Jun 21, 2010 11:01 am

application always on top

Postby Timm » Wed Mar 11, 2015 10:29 am

Ignacio, Jose,
works great!
Your support is incredibly good, thank you very much.
Best regards, Timm.

Return to “English”