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 <<