Results 1 to 1 of 1

Thread: embed qt exe in external application

  1. #1
    Join Date
    May 2013
    Posts
    1
    Thanked 1 Time in 1 Post

    Default embed qt exe in external application

    Hello
    I am trying to embed QT mainwindow's example of menus provided with the QT4.8.4 examples.
    When I run QT's menus.exe independently ,it works fine.
    Now I make a dialog based application in MFC and retrieve the running process id of menus.exe.
    I change the parent of menus.exe hwindow to the mfc's dialog and use MoveWindow to move the menus.exe above the mfc dialog.

    I am able to capture keyboard and right click events properly but I am not able to click on file menu or any other menu.
    when i do Alt+F for file menu; the internal menu items are shown at top left corner of my laptop.
    Basically the mouse left click events are not going proper when we change the parent window of the qt exe to the mfc dialog control.


    PLease help me out in resolving the issue.

  2. The following user says thank you to rattanas for this useful post:


Similar Threads

  1. Replies: 22
    Last Post: 14th October 2010, 18:44
  2. Embed external application
    By zeldaknight in forum Qt Programming
    Replies: 0
    Last Post: 21st August 2009, 01:34
  3. Replies: 6
    Last Post: 3rd May 2007, 16:17
  4. Embed a font in the application
    By Lele in forum Qt Programming
    Replies: 1
    Last Post: 26th October 2006, 10:47
  5. Replies: 1
    Last Post: 14th June 2006, 15:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.