How to get wid by the pid?
-
1.in my application, I use QProcess to start a external program.
the application have a window, and in the window, I create two buttons,
when I click button1, it will use QProcess to start a external program and if I click button2, it will convert external program to my application.
The Problem:
when I use QProcess to start the external program, external program is in the top-level window, it cover my application window which have two buttons.
can you help me? can you tell me how to switch external program to my application?
I also want to get wid of the external program, but I read help document, I only can get pid of the external program.