how to capture outlook 2007 events

  • Thread starter Thread starter Ashish
  • Start date Start date
Status
Not open for further replies.
A

Ashish

1. How to capture events for submenus which comes under "Other Actions"

popup menu on toolbar when open a mail in outlook 2007.

There are some submenus under "Other Actions" popup menu like

Edit Message, Recall This Message, Save Attachments etc

For outlook 2003 i can capture these submenus using

ActiveInspector->ActiveManuBar("Actions"). They comes under "Actions" popup

menu in 2003.

But it's not working in 2007.

2. To capture context menu operations for mail items we use

ActiveExplorer->CommandBars->Item("Context Menu");

How to capture context menu operations for folders. Above is working for

mail items not for folders.
 
Each one of those ribbon controls has an idMso that you can look up in the

XML schema for that type of Outlook item. You do the same using those idMso

tags as you would with any control on the ribbon to repurpose it or handle

callbacks for it. No difference at all.

In Outlook 2007 there are specialized content menu objects. Use them. Look

in the Object Browser under the Application object for a complete list. For

folder context menus use the FolderContextMenuDisplay() event.

"Ashish" <akohli_2004@hotmail.com> wrote in message

news:ubtPMT5DKHA.5780@TK2MSFTNGP03.phx.gbl...
> 1. How to capture events for submenus which comes under "Other Actions"
> popup menu on toolbar when open a mail in outlook 2007.
> There are some submenus under "Other Actions" popup menu like
> Edit Message, Recall This Message, Save Attachments etc

> For outlook 2003 i can capture these submenus using
> ActiveInspector->ActiveManuBar("Actions"). They comes under "Actions"
> popup menu in 2003.
> But it's not working in 2007.

> 2. To capture context menu operations for mail items we use
> ActiveExplorer->CommandBars->Item("Context Menu");

> How to capture context menu operations for folders. Above is working for
> mail items not for folders.

>
 
Thanks for foldercontextmenu.

About first question idMSO is not clear. Should i search the submenu in

Standard menu bar or Menu bar or somewhere else?

I want to capture the event when click on any submenu under "Other Actions"

popup menu in mail item(active inpector)
<kenslovak@mvps.org> wrote in message

news:%233Rrii6DKHA.1540@TK2MSFTNGP02.phx.gbl...
> Each one of those ribbon controls has an idMso that you can look up in the
> XML schema for that type of Outlook item. You do the same using those
> idMso tags as you would with any control on the ribbon to repurpose it or
> handle callbacks for it. No difference at all.

> In Outlook 2007 there are specialized content menu objects. Use them. Look
> in the Object Browser under the Application object for a complete list.
> For folder context menus use the FolderContextMenuDisplay() event.

> >

>

> "Ashish" <akohli_2004@hotmail.com> wrote in message
> news:ubtPMT5DKHA.5780@TK2MSFTNGP03.phx.gbl...
> > 1. How to capture events for submenus which comes under "Other Actions"
> > popup menu on toolbar when open a mail in outlook 2007.
> > There are some submenus under "Other Actions" popup menu like
> > Edit Message, Recall This Message, Save Attachments etc
>

>> For outlook 2003 i can capture these submenus using
> > ActiveInspector->ActiveManuBar("Actions"). They comes under "Actions"
> > popup menu in 2003.
> > But it's not working in 2007.
>

>> 2. To capture context menu operations for mail items we use
> > ActiveExplorer->CommandBars->Item("Context Menu");
>

>> How to capture context menu operations for folders. Above is working for
> > mail items not for folders.
>

>>

>
 
where to see XML schema for that type of Outlook item.

For outlook 2007 when try to capture event for any submenu under "other

actions" popup menu

ActiveInspector->ActiveManuBar("Actions"). give all submenus. I register

any submenu but when i click on submenu which was registered, its click

event not called. In 2003 it's called successfully. So i think all submenus

under "other actions" popup menu will register by some different way in

2007. I did not find "other actions" popup menu under statndard or active

menu bar.
<kenslovak@mvps.org> wrote in message

news:%233Rrii6DKHA.1540@TK2MSFTNGP02.phx.gbl...
> Each one of those ribbon controls has an idMso that you can look up in the
> XML schema for that type of Outlook item. You do the same using those
> idMso tags as you would with any control on the ribbon to repurpose it or
> handle callbacks for it. No difference at all.

> In Outlook 2007 there are specialized content menu objects. Use them. Look
> in the Object Browser under the Application object for a complete list.
> For folder context menus use the FolderContextMenuDisplay() event.

> >

>

> "Ashish" <akohli_2004@hotmail.com> wrote in message
> news:ubtPMT5DKHA.5780@TK2MSFTNGP03.phx.gbl...
> > 1. How to capture events for submenus which comes under "Other Actions"
> > popup menu on toolbar when open a mail in outlook 2007.
> > There are some submenus under "Other Actions" popup menu like
> > Edit Message, Recall This Message, Save Attachments etc
>

>> For outlook 2003 i can capture these submenus using
> > ActiveInspector->ActiveManuBar("Actions"). They comes under "Actions"
> > popup menu in 2003.
> > But it's not working in 2007.
>

>> 2. To capture context menu operations for mail items we use
> > ActiveExplorer->CommandBars->Item("Context Menu");
>

>> How to capture context menu operations for folders. Above is working for
> > mail items not for folders.
>

>>

>
 
You are confusing menus/toolbars and the ribbon. Everything in an Inspector

in Outlook 2007 is a ribbon control. You need to download the XML schemas

for the ribbon from the Office Development center at MSDN and study those

schemas to work with the ribbon. You will find the tab, group and control

names in those schemas and that's what you use as the idMso's.

If you go to customize the QAT and hover over the control you want to access

it shows the idMso for you, that's an alternate way to find those

properties. However if you plan to develop for the ribbon you really should

have downloaded and studied the available documentation on it so you know

what you're doing.

"Ashish" <akohli_2004@hotmail.com> wrote in message

news:%23XaTnXDEKHA.5068@TK2MSFTNGP03.phx.gbl...
> where to see XML schema for that type of Outlook item.

> For outlook 2007 when try to capture event for any submenu under "other
> actions" popup menu
> ActiveInspector->ActiveManuBar("Actions"). give all submenus. I register
> any submenu but when i click on submenu which was registered, its click
> event not called. In 2003 it's called successfully. So i think all
> submenus under "other actions" popup menu will register by some different
> way in 2007. I did not find "other actions" popup menu under statndard or
> active menu bar.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
J VBA Form in Outlook to capture data and complile a mail Outlook VBA and Custom Forms 2
L Capture email addresses and create a comma separated list Outlook VBA and Custom Forms 5
R Capture Sender's Display name and Address Outlook VBA and Custom Forms 3
M Using field names to capture a data element Using Outlook 0
I Capture incoming emails Outlook VBA and Custom Forms 1
A Capture network traffic in IE to file Outlook VBA and Custom Forms 5
JorgeDario How to capture and save the text, when responding a MailItem? Outlook VBA and Custom Forms 3
G Capture "forward event" ? Outlook VBA and Custom Forms 11
A how to capture events for next item Outlook VBA and Custom Forms 10
B Capture Inbound E-mail Subject with VBA Outlook VBA and Custom Forms 4
R How to capture a Mailitem Event Outlook VBA and Custom Forms 3
T Some way to capture who marks an email as read Outlook VBA and Custom Forms 1
C Event Capture - Item Context Menu (Delete). Can you hook it? Outlook VBA and Custom Forms 1
L Android Outlook Doesn't Update PC Notification Changes Using Outlook 0
A How to open Excel file saved in Outlook folder? Outlook VBA and Custom Forms 4
D.Moore Outlook desktop client suggested searches question Using Outlook 10
Y Outlook 2016 (64-bit) Copy Local Cal. Events to Another Cal. with Modified Reminder time Using Outlook 2
T Outlook 2019 While connecting an IMAP account in "classic" Outlook 2024 I caused a massive duplication of emails on the server (death loop) Using Outlook 5
D Cannot logon to Outlook.com, or outlook on Mac, outlook not updating on ipad, iphone Using Outlook 1
J unable to get my new install of Outlook to display mailboxes in the single-line format. Using Outlook 1
D Legacy Microsoft Outlook for Mac Support will end in Oct 2025 Using Outlook 5
C Nasty Bug Lurking In Outlook For Years. The Trigger. Any Fix Or Workaround? Using Outlook 11
R Auto clicking Hyperlink in outlook Outlook VBA and Custom Forms 7
ughlook Open multiple contacts in NEW Outlook? Using Outlook 3
G Outlook translation feature is off Using Outlook 2
J Outlook 2010 does not let me put any account Using Outlook.com accounts in Outlook 3
P 3 of 5 PST files don't install from d:\outlook but only from D:\ Using Outlook 7
HarvMan January Windows 10 preview update force installs new Outlook Using Outlook 1
L Outlook 2010 - new installation on Windows 11 - aplzod32.dll is not a valid Add-in Using Outlook 12
J Outlook troubleshooting/logging - option grayed out Using Outlook 2
B Arrows missing from Outlook emails vertical scrollbar Using Outlook 0
G Outlook 2021 (New) doesn't respect default browser Using Outlook 9
B Outlook or iPhone turning tabs into spaces in Outlook Notes Using Outlook 1
P newly installed Office 365 includes OLD Outlook Using Outlook 6
R Outlook ribbon menu default? Using Outlook 7
H Spam email in Gmail not visible in Outlook Using Outlook 3
J How to transfer Win 10 Outlook to new Windows 11 pc? Using Outlook 16
J Renegade spam URL line displayed in old local Outlook 365 email title Using Outlook 3
G Reduce whitespace in Outlook desktop Contact Cards display Using Outlook 3
C Outlook classic via 365 Using Outlook 2
Dr. Demento Analogous Outlook code to read info into an array (or collection or whatever) Outlook VBA and Custom Forms 7
S Repair Outlook Using Outlook 8
V Outlook Form ListBox is not editable Outlook VBA and Custom Forms 2
F Outlook's contacts Using Outlook 1
D Outlook 2003 stopped dead Using Outlook 2
G Cannot receive emails from gmail account in Outlook 365 Using Outlook 1
E "Cannot display the folder. MS Outlook cannot access the specified file location" Using Outlook 8
P Outlook 2016 Working Offline Using Outlook 2
Rupert Dragwater Cannot reestablish gmail (email address) account in Outlook 365 Using Outlook 11
O Outlook 365 synchronisieren Exchange Server Administration 1

Similar threads

Back
Top