FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC How restore running aplication ?
Posts: 5
Joined: Sat Dec 22, 2007 10:18 PM
How restore running aplication ?
Posted: Fri Dec 28, 2007 03:13 PM

i can check running aplication with function IsExeRunning().
In this case, how restoring window with this application ?
With function SetForeGroundWindow( ) ?

greetings/salu2
Marek

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: How restore running aplication ?
Posted: Fri Dec 28, 2007 06:10 PM
IF ISEXERUNNING( CFILENOEXT( HB_ARGV( 0 ) ) )
    SHOWWINDOW( FINDWINDOW( 0, cWindowTitle ), 9 )
    SETFOREGROUNDWINDOW( FINDWINDOW( 0, cWindowTitle ) )
    RETURN NIL
ENDIF


EMG
Posts: 5
Joined: Sat Dec 22, 2007 10:18 PM
Re: How restore running aplication ?
Posted: Fri Jan 04, 2008 07:11 AM

thanks !

:D:D:D

Continue the discussion