Accessing other Application in QT
-
wrote on 23 Jul 2014, 13:59 last edited by
I have an application developed in qt. What I need is I want to stitch or glue another non QT application like windows media player, chrome etc. on my QT application in the specified position.Then the non qt application should be in the front. But some elements or widgets of my QT application should be in front of non QT. If I move or drag my QT application then the non QT application also moves with it in the defined position.
Is it possible ?
Please reply with steps and sample codes needed for it. -
wrote on 24 Jul 2014, 06:04 last edited by
You can do it by using the Windows-API. I used some years ago to overlay a window which is not a child of my application. The link: "Win-API":http://msdn.microsoft.com/en-us/library/ff818516(v=vs.85).aspx
I would set a timer that periodically checks the non-qt-application and moves the window if needed or activate it.
-
wrote on 24 Jul 2014, 06:36 last edited by
hi
Use QProcess
http://qt-project.org/doc/qt-5/QProcess.html -
I think you can do it with "QWidget::createWindowContainer":http://qt-project.org/doc/qt-5/qwidget.html#createWindowContainer
-
wrote on 24 Jul 2014, 13:28 last edited by
Thank you very much all.......!!!!
-
wrote on 24 Jul 2014, 14:51 last edited by
Along with opening the non Qt application I want to add it to my Qt-widget and re size and move it. what to do..? please give me sample code...
-
wrote on 26 Jul 2014, 03:41 last edited by
Along with opening the non Qt application I want to add it to my Qt-widget and re size and move it. what to do..? please give me sample code…
7/7