Accessing other Application in QT
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.
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.
I think you can do it with "QWidget::createWindowContainer":http://qt-project.org/doc/qt-5/qwidget.html#createWindowContainer
Thank you very much all.......!!!!
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...
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…