How can what category of items Outlook is showing as indicated by the highlighted icon shown at the bottom left of the window, in the case of of image below it is email. I want a method that works regardless of which folder or calendar is selected as user might have multiple. The closest I have got so far is to examine
Application.ActiveExplorer.CurrentFolder
and check the DefaultMessageClass
property.
Is there a more direct way of determining what the user has selected in the icon menu show below?