01-11-2010 06:01 AM
I have added a menu on the main email list. When I am selecting one message and clicking the menu, the context object in the ApplicationMenuItem::Run(Context oContext) function is Message object but when I am selecting multiple message the context object is null. Is this a bug? Is there any work around?
I got this behavior on OS 4.2.
On OS 4.7 using storm 9530 simulator I am not able to select multiple messages so could not test.
01-19-2010 02:37 AM
As an alternative I am thinking to get all the selected mail items somehow from the GUI. I can get the Application by
UiApplication oUiApp = UiApplication.getUiApplication();
But how to proceed further?
01-19-2010 03:49 AM
selecting multiple messages for the context menu is not supported.
you won't be able to retrieve the messages from the field itself as the used fields are internal.