Nominate our 2022 Qt Champions!

Closing Ax control hosted in QAxWidget

  • Hi,
    I have some application which uses QAxWidget to host some external activeX gui controls.
    Some of them have possibility to close them. For example if this app has been created with QT and contains QMainWindow by closing i understand calling close() on it. In this case I receive external WM_DESTROY in host application. Everything would be fine but QAxWidget is not refreshed meaning it still displays old controls GUI (not usable of course as it is just "appshot" in there).
    Can i handle this external message in my host application to clean up QAxWidget?

Log in to reply