Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. DLL modeless dialog & QT big big problem

DLL modeless dialog & QT big big problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++architecture
2 Posts 2 Posters 0 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.
  • 4 Offline
    4 Offline
    4288
    wrote on last edited by
    #1

    Hi all, My application uses QT to render its interface but I recently encountered a big problem: my application loads a modeless dialog from an external mfc dll; because of mfc architecture PreTranslateMessage isn't called for my modeless dialog, so I thought forwarding the modeless dialog's messages would be the only solution, but now my problem rises: QT don't support PreTranslateMessage. I really need a great idea to solve this problem. Please help me.

    ---

    S 1 Reply Last reply
    0
    • 4 4288

      Hi all, My application uses QT to render its interface but I recently encountered a big problem: my application loads a modeless dialog from an external mfc dll; because of mfc architecture PreTranslateMessage isn't called for my modeless dialog, so I thought forwarding the modeless dialog's messages would be the only solution, but now my problem rises: QT don't support PreTranslateMessage. I really need a great idea to solve this problem. Please help me.

      ---

      S Offline
      S Offline
      Stephen Hewitt
      wrote on last edited by
      #2

      You can emulate if you have access to the message pump. I don't know QT so I'm not sure what the deal is in this respect.

      Steve

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups