Important: Please read the Qt Code of Conduct -

QAxBindlable hosted in CAxWindow

  • Hi,
    I'm struggling with small issue related to closing activeX control hosted inside CAxWindow.
    Main window class inherits from QMainWindow and QAxBindable. I have registered my own implementation of IAdviseSink interface to receive OnClose event. The problem is that it is not being called when window class closes.
    As a results I see "screenshot" of my app inside CAxWindow.
    Is there any other way to be notified about closing main activeX window inside CAxWindow?

Log in to reply