Link to home
Start Free TrialLog in
Avatar of DMCLab
DMCLab

asked on

Is it possible to run the GUI of another exe file in a MDI Child window?

I have a VB 6.0 application.  I want to run a seperate .exe file's GUI within this VB application's MDI child form.  Is it possible?  Thanks a lot.
Avatar of TimCottee
TimCottee
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi DMCLab,

Not effectively, you can use the SetParent api call if you can determine the hWnd of the other application's window. However it will not be a VB MDI Child window and you therefore would also have to handle the positioning of the window within the mdi form and any change in position or size of the other application window.

In essence it can be done to some extent but it does require a fair amount of work on your part, you cannot simply add it as a new mdi child unfortunately.

Tim Cottee
ASKER CERTIFIED SOLUTION
Avatar of DarthMod
DarthMod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial