Is it possible to start a new process and set it’s main window as a child window of my MDI application?
The scenario is: I have a MDI application and I want to start Adobe Acrobat as a child window of my MDI application.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In theory, I believe it’s possible using SetParent.
However, in practice, this may be a bit more difficult than you’d expect. Also, you’ll need to do work to syncronize the styles, etc.
Just a thought, though – If you are trying to embed Acrobat Reader (not full Acrobat), you may be able to do this easier by embedding a webcontrol and having the acrobat reader plugin used in that…
Here are some samples of people making this work (at least partially):
Related SO question with workarounds for specific issues.
CodeProject article using SetParent
Experts-exchange question about embedding a java app in a win32 app.