View Single Post
  #1 (permalink)  
Old September 10th, 2004, 03:13 PM
sanglebms sanglebms is offline
Registered User
 
Join Date: Sep 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Add Menu Item to an External Application

I am trying to achieve the following.
 
  • My program opens a file in its default application.
  •  
  • Now I want to add menu item into this external app launched
      
  • When this menu item is clicked I want it to launch a function in the my programs thread


ex using ShellExecute,my programs launches a c:\my.txt and it opens in Notepad.Then I am able to add a menu item into the File-menu is application.However I am havign trouble getting the event to fire,since my app and the launched app run in two diff processes.

If anybody has any inputs,do reply...

Reply With Quote