How restore running aplication ?

How restore running aplication ?

Postby marekrz » Fri Dec 28, 2007 3: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
User avatar
marekrz
 
Posts: 5
Joined: Sat Dec 22, 2007 10:18 pm
Location: Poland

Re: How restore running aplication ?

Postby Enrico Maria Giordano » Fri Dec 28, 2007 6:10 pm

Code: Select all  Expand view  RUN
IF ISEXERUNNING( CFILENOEXT( HB_ARGV( 0 ) ) )
    SHOWWINDOW( FINDWINDOW( 0, cWindowTitle ), 9 )
    SETFOREGROUNDWINDOW( FINDWINDOW( 0, cWindowTitle ) )
    RETURN NIL
ENDIF


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: How restore running aplication ?

Postby marekrz » Fri Jan 04, 2008 7:11 am

:D :D :D

thanks !
User avatar
marekrz
 
Posts: 5
Joined: Sat Dec 22, 2007 10:18 pm
Location: Poland


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 27 guests