Nominate our 2022 Qt Champions!

Ctrl key accelerator issues in Qt/MFC integration

  • I am currently working on a MFC document-view application on VC++ 2010. It is used as a development framework, with a client specific dialog as needed (hiding the framework application).

    We have started a gradual port to Qt, using QMfcApp. Our client specific dialog is a QMainWindow derivative.

    Things are working good except for Ctrl keys accelerators. The problem is that all of the ctrl key bindings of the development framework get called even if they originate from the QMainWindow client dialog. Even Ctrl-C and Ctrl-V commands from text edits get to the MFC frame window.

    Not sure where to start about that, any help appreciated

  • Moderators

    Hi, and welcome to the Qt Dev Net!

    Which version of Qt are you using?

    I don't have experience with QMfcApp myself, but I know this:

    If you don't get an answer on this forum within the next few days, try asking at the "Interest mailing list": (you need to subscribe first)

  • Thanks, will have a look at the interest mailing list.

    I am using Qt 4.7.4

Log in to reply