Specify the position of child process
Specify the position of child process
I've spawn a child process by wxExec function. My question is how to specify the x,y position of this child process?
Hi,
I'm not sure I understand what you mean. If the process that you spawn provides its own visible output (as a gui process would do) then I don't think you can tell it from within wxWidgets where to display: that is done by your OS.
If you mean that the new process would normally have run and displayed its output in a console (in which case I don't understand what you meant by the x,y position) the way I do this is to catch the output of the process and display it in a wxTextCtrl, perhaps inside a wxDialog.
If I've completely missed the point, perhaps you could explain in more detail.
Regards,
David
I'm not sure I understand what you mean. If the process that you spawn provides its own visible output (as a gui process would do) then I don't think you can tell it from within wxWidgets where to display: that is done by your OS.
If you mean that the new process would normally have run and displayed its output in a console (in which case I don't understand what you meant by the x,y position) the way I do this is to catch the output of the process and display it in a wxTextCtrl, perhaps inside a wxDialog.
If I've completely missed the point, perhaps you could explain in more detail.
Regards,
David