01-05-2009 07:24 PM
When I click on my custom menu item in the "Messages" application I want to be able to retrieve the currently selected message. How do I do this?
If I have a message open and I click my custom menu item how would I reference the currently opened message?
Solved! Go to Solution.
01-05-2009 07:50 PM
The message is passed back to your menu.run() method in the "context object".
You would cast this Object back to Message and do whatever you want with it.
See the API docs for ApplicationMenuItem and ApplicationMenuItemRepository.