Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to make win32 window as a parent of Qwidget window.
Forum Updated to NodeBB v4.3 + New Features

How to make win32 window as a parent of Qwidget window.

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aashish.lg
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • P Offline
      P Offline
      p-himik
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved