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
C Outlook classic via 365 Using Outlook 1
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 7
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 5
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
kburrows Outlook Classic - JPG files are corrupted when opened or saved Using Outlook 3
F Sync Outlook Calendar Using Outlook 0
G Change default font size in sticky notes - Outlook Desktop 2021 Using Outlook 2
C VBA in "New Outlook?" Using Outlook 0
D New Outlook with Business Basic Plans Using Outlook 0
D Outlook 2021 not working with Outlook 2003 installed Using Outlook 5
D Outlook 2003 stopped working - get they dialog box asking for username & Password Using Outlook 2
T Outlook 2021 hangs in close on taskbar occasionally Using Outlook 1
M Duplicate removal feature in Outlook 2021 is faulty Using Outlook 2
D.Moore Outlook COM addins source folder Using Outlook 12
P Removing Outlook 365 Account from Send/Receive Using Outlook 3
kburrows Outlook Automatically Merging Contacts Using Outlook 2
A Outlook 2016 Outlook 2016 vs. New Outlook Using Outlook 4
D Outlook Desktop App Email Software Using Outlook 0
efire9207 VBA Outlook Contacts Outlook VBA and Custom Forms 6
M Outlook not logging in to server Using Outlook 0
J Outlook macro to run before email is being send Outlook VBA and Custom Forms 3
R Outlook 2021 change view Using Outlook 2
K Outlook font corrupted in some point sizes, resets on close/open Using Outlook 2
J Is the Windows Outlook Tasks module really going to be gone? Using Outlook 6
F Outlook 2010 and Hotmail Using Outlook 1
A Outlook 2021 needs 'enter' for people search Using Outlook 2
HarvMan Outlook 365 Inbox Font Using Outlook 8
Retired Geek Outlook on MAC delete duplicate Sent emails Using Outlook 0
S New Outlook - IMAP ISSUES and support for addins? Using Outlook 1
C outlook.com fonts Using Outlook 2

Similar threads

Back
Top