Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » How do I access menu commands in one program from a Delphi Form?
Closed Thread
Old 07-21-2005, 11:07 AM   #1 (permalink)
 
Newb Techie

Join Date: Jul 2005

Posts: 3

Neophyte185

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  
Old 01-13-2006, 01:14 PM   #2 (permalink)
 
Newb Techie

Join Date: Jan 2006

Posts: 1

mehdijavid

Default Hi

Hi Neophyte185,

I am Mehdi ,i did read your ask ,now i want help you ...
if you want RUN/CLOSE/MIN/WINDOWS FILES STATE/or other acts
you can use ActionManager object from>Additional/ActionManager1 .
just dblClick on it and right Click on Categories area and select
New Standard Action and use any thing you want ...

Or if you want select a Submenus from another programs or file's
menus ,you can execute them and send a hotkey's code to the program
(You must know hotkeys of that program)

If you still have a problem contact me at :MehdiJavid@Mailftp.com
mehdijavid is offline  
 
Closed Thread

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On