I think you should look at DesktopWatcher Regards GIanluigi
2015-10-21 22:54 GMT+02:00 herberth guzman <herberthguz...@gmail.com>: > Greetings to all, > I need help please with component gb.desktop.x11 to my Panel(f_panel) > > I will try to explain: > To activate a window the following code: > > value=last.tag > Desktop.Windows.FromHandle (value) .Activate > > I would like to know how can I ask X11 which windows has focus. > For instance, my application(form_taskbar) is running with many others > (e.g. firefox, libreoffice, gimp,...) > > Suppose that at first firefox has focus and that the user clicked on my app > which now has the focus. I want that my application put focus on firefox > again. > > Does anyone knows how to achieve this? > > I leave a link that explains what I need. > Please help. > > > http://stackoverflow.com/questions/1014822/how-to-know-which-window-has-focus-and-how-to-change-it > > Benoit > Aidez-moi s'il vous plaƮt > I'm lost > > Help me please > I'm lost > > Herberth Guzman > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user