C
Chris Day
I am writing an Outlook Add-In in C# that exports emails from Outlook.
Because you can't alter the context menus I have a menu item that I
have added under the File menu.
Currently I can export emails fine, but what I would like to be able
to do is find out if some one has just clicked on a folder and then
clicked on my menu item so I can export all emails in that folder and
all the emails in it's sub-folders. Currently all I can do is get the
active explorer then look at the Selection property which only holds
the MailItem's from the selected folder.
Is there a way to find out which pane had focus before the menu item
was clicked?
Chris
Because you can't alter the context menus I have a menu item that I
have added under the File menu.
Currently I can export emails fine, but what I would like to be able
to do is find out if some one has just clicked on a folder and then
clicked on my menu item so I can export all emails in that folder and
all the emails in it's sub-folders. Currently all I can do is get the
active explorer then look at the Selection property which only holds
the MailItem's from the selected folder.
Is there a way to find out which pane had focus before the menu item
was clicked?
Chris