Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions > Programming Tips and FAQ

Reply
 
LinkBack Thread Tools Display Modes
Old 07-18-2005, 08:56 AM   #1 (permalink)
Newb Techie
 
Join Date: Jul 2005
Posts: 3
Question How do I access menu commands in one program from a Delphi Form?

I am a neophyte programmer. I have figured out how to generate a simple Delphi 7 form with a button in it which will run an executable.

procedure TForm1.Button1Click(Sender: TObject);
begin
ShellExecute
(Form1.Handle, 'open', 'c:\E3238s\bin\E3238s.exe', nil, nil,
SW_SHOWNORMAL);
end;
end.

My problem is I need to know how to access the menus that are a part of this executable. For example how would I access the FILE menu in order to select EXIT.
Neophyte185 is offline   Reply With Quote
Old 07-18-2005, 09:59 AM   #2 (permalink)
Ultra Techie
 
Join Date: Sep 2003
Location: Bamberg, Germany
Posts: 549
Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

This should probably be in the actual programming section, not in the tips/tricks section.
__________________

See today\'s Penny-Arcade!(May contain foul lanuage)
Pain is weakness leaving the body.

PM Me for my MSN
Iron_Cross is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:57 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0