How to make win32 window as a parent of Qwidget window.
-
Hi,
I was exploring QWebView and was amazed with the functionality of this class. It helped me a lot.
Actually I am trying to render adobe flash content by specifying the flash URL.My problem is that when I call Load() on QWebVIew, since it is derived from QWidget it brings the QWidget window
but I wanted to make this QWebView/QWidget window as a child of mstsc.exe window.
I can get the HWND of mstsc.exe but not getting the way how to make existing win32 window as a parent of QWebView/QWidget.
I saw in constructor of QWebView it expects QWidegt as a parent. How can we specify HWND here?Same stuff I will be trying in Linux as well.
Regards
Ashish -
Maybe "this post":http://stackoverflow.com/questions/4608130/how-to-embed-window-from-another-application-in-our-wpf-window-as-user-control will somehow help you.