Is there a way to retrieve the application handles of other open windows (not related to your gambas project). What I'm trying to do is force the focus to return to the previous application prior to opening my gambas window. Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate