Solved

application and my app

Posted on 2006-11-12
1
164 Views
Last Modified: 2010-04-05
hi all,
how are you?
I want to run another application and fix that into my form.
Yes, i can run an application by apishell, but how can i fix it into my application? i don't want to see 2 windows.
thanks alot.
0
Comment
Question by:tnhphuong
1 Comment
 
LVL 4

Accepted Solution

by:
tobjectpascal earned 250 total points
ID: 17928463
Add a Panel onto your Form.

procedure TForm1.Button1Click(Sender: TObject);
Var
 H: HWnd;
begin
 H:=FindWindow('notepad',nil);
 If H<>0 Then
  Begin
    Windows.SetParent(H,Form1.Panel1.Handle);      SendMessage(Form1.Panel1.Handle,wm_command,SC_MAXIMIZE,0);
  End;
end;
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question