HI. (Oi)
How can I have the app brounght to top if a try tu run it agian. (Como faço para trazer o aplicativo para a frente se eu tentar executá-lo novamente?)
Ariston Santos.
FWPPC
How to bring app to top if already running?
- Ariston (BR)
- Posts: 9
- Joined: Fri May 07, 2010 1:42 am
- Location: Macapá - Amapá - Brasil
- Contact:
Re: How to bring app to top if already running?
Code: Select all
CFILENAME := "test.exe"
IF ISEXERUNNING( CFILENAME( HB_ARGV( 0 ) ) )
msginfo("Test is running","Attenzione")
SHOWWINDOW( FINDWINDOW( 0, "TEST" ), 9 )
SETFOREGROUNDWINDOW( FINDWINDOW( 0, "TEST" ) )
RETURN NIL
ENDIF
DEFINE WINDOW m->oWnd TITLE "TEST"
Maurizio
- Ariston (BR)
- Posts: 9
- Joined: Fri May 07, 2010 1:42 am
- Location: Macapá - Amapá - Brasil
- Contact:
Re: How to bring app to top if already running?
Thank you very much, friend. I'm gonna test it now.
Muito obrigado, amigo. Vou testar agora.
Editado (Edited)
It worked. Thanks again. (Funcionou. Obrigado novamente.)
Muito obrigado, amigo. Vou testar agora.
Editado (Edited)
It worked. Thanks again. (Funcionou. Obrigado novamente.)
Ariston Santos (Macapá-Amapá-Brasil)
FWPPC, Fwh26, xHb, xDev, WorkShop, Php, MySQL.
FWPPC, Fwh26, xHb, xDev, WorkShop, Php, MySQL.