From kde-devel Thu Apr 28 11:22:02 2005 From: Lubos Lunak Date: Thu, 28 Apr 2005 11:22:02 +0000 To: kde-devel Subject: Re: rais application through dcop Message-Id: <200504281322.02524.l.lunak () suse ! cz> X-MARC-Message: https://marc.info/?l=kde-devel&m=111468735303098 On Wednesday 27 of April 2005 14:12, Sheraz wrote: > Hi > I have two applications...with dcop interfaces > implemented successfully.. > > I launched first application and then launched 2nd > application > 2nd application becomes the current (focused) > application.. > > Now i like to transfer the control from 2nd > application to first application using dcop call or > any other way through which my first application > becomes raised and get the focus. Depending on what you actually want, KWin::activateWindow( other_apps_window->winId()) might be the answer. -- Lubos Lunak KDE developer --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org Drahobejlova 27 tel: +420 2 9654 2373 190 00 Praha 9 fax: +420 2 9654 2374 Czech Republic http://www.suse.cz/ >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<