Hello,
We have a main program written in MFC (Windows) that has buttons to start different actions. Those actions are performed by external programs (.exe's or DLL) that are started by the main program.
The external programs show their user interface INSIDE a window area of the main program. So it looks to the user as if it is all one integrated program. This is accomplished by giving the external programs the windows handle of the main application, and they use that as 'parent' for their main window.
Now I would like to write an external program in Qt that works in the same way. Can it be done in Qt ?
I was thinking of passing the windows handle to the constructor of my QMainWindow, but have no idea how to translate the windows handle to a QWidget pointer.
Best regards,
Marc
Bookmarks