[Gambas-user] Application windows

Benoit Minisini gambas at ...1...
Wed Mar 15 21:31:30 CET 2006


On Friday 10 March 2006 19:16, GuruLounge - MailLists wrote:
> Is there a way to retrieve the application handles of other open windows
> (not related to your gambas project).

Desktop.Find() in the development version.

>
> What I'm trying to do is force the focus to return to the previous
> application prior to opening my gambas window.

You can use Desktop.Find() to do that. I think what you want to do is a bad 
idea. The good way to do that is having a way to send a message to the last 
application, and then this application can decide to raise and get focus 
itself.

Regards,

-- 
Benoit Minisini





More information about the User mailing list