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...