Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run external application in a window or aligned to a panel?

Status
Not open for further replies.

doctorjellybean

Programmer
May 5, 2003
145
I know how to execute an external application, but I'm wondering if one can program the output. I would like to open the external application inside mine, e.g. aligned to a panel. The application I have in mind displays in the centre of the desktop, cannot be resized although it can be moved.
 
all you need is to find the handle of the main window of the external application (-> use FindWindow API)

then you can move into your panel with the SetParent API (use the handle of the Panel as parent handle).

/Daddy

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top