>>**Can maximize a window >>DECLARE INTEGER ShowWindow ; >>IN WIN32API ; >> INTEGER hWnd , ; >> INTEGER nState >> >>**get the window handle >>DECLARE INTEGER FindWindow ; >>IN WIN32API ; >> STRING cNull, ; >> STRING cWinName >> >>**place the window on top >>DECLARE INTEGER BringWindowToTop ; >>IN WIN32API ; >> INTEGER hWnd >> >>*Sample code, it this case the window title = 'Calculatrice' >>IF !FindWindow( 0, 'Calculatrice') > 0 >> *Not find, do something... >>ELSE >> *Find! Bring it to top and maximize it! >> =BringWindowToTop(FindWindow( 0, 'Calculatrice')) >> =ShowWindow(FindWindow( 0, 'Calculatrice'),1) >>ENDIF >> >>>It is a grate help but I still have a little problem. I am using the Visual FoxPro window screen as my system default window. I try to use the WTITLE() function to get the Visual FoxPro window screen title name but the function return empty string. What is the window title name I should put in the FINDWINDOW function to check the session is already open?