🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9293

Re: Opening an external Program inside a form in my Program

#9293
From: Remy Lebeau (TeamB)
Date: Wed, 14 Jul 2004 04:17
27 lines
1923 bytes
"Gav" <brightoncomputers@brightontown.com.au> wrote in message
news:40f4505e@newsgroups.borland.com...

> I am wanting to open up an external program (using
> Internet Explorer as an example) but I want it to open,
> fully functional with its own Interface, Buttons etc
> intact - inside a Tabbed Page preferably or another
> Form if possible.

The only way to do that is to locate the program's main window and reparent
it manually via then SetParent() function.  Depending on the framework used
to create the program, that may have unforseen problems for the program,
though (I'll ignore those for now - they are a side issue).  Not to mention
the fact that it is not always easy to identify a program's main window to
begin with.

If you want IE windows embedded in your app, it is better to just use an
embedded IE instance to begin with.

> How would I go about this please ?

Why exactly do you need this?  It is generally not a good idea to hijack
other people's programs.


Gambit
Technical Details
Message-ID: <40f4b3ae$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40f4505e@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,28d3289823af9897
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40f4505e@newsgroups.borland.com>
Subject: Re: Opening an external Program inside a form in my Program
Date: Tue, 13 Jul 2004 21:17:30 -0700
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <40f4b3ae$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1089778606 68.69.17.41 (13 Jul 2004 21:16:46 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail