how to capture outlook 2007 events

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.
 
K

Ken Slovak - [MVP - Outlook]

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.

>
 
A

Ashish

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.
>

>>

>
 
A

Ashish

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.
>

>>

>
 
K

Ken Slovak - [MVP - Outlook]

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 Duplicate calendar entries in Outlook 365 Using Outlook 2
V Outlook 2021 Can anyone explain why my Outlook views keep changing?! Using Outlook 2
AlphonseG Outlook 365 Outlook Crashes on setting SaveSentMessageFolder Outlook VBA and Custom Forms 2
S Outlook 2021 How to customize colors Outlook 2021 & Office 2021 on PC Using Outlook 0
D Outlook 2007 Recovering E-Mails Using Outlook 0
G Stop Outlook 365 adding meetings to calendar Using Outlook 0
HarvMan Using Emojis in Outlook 365 Using Outlook 3
T Outlook 2019 Not Using Auto Compete After Deletion of 365 Using Outlook 1
D Gmail mail is being delivered to a different email inbox in Outlook App 2021 Using Outlook 2
Albert McCann Outlook 2021 Outlook Display of HTML Email from two senders is glitchy Using Outlook 0
richardwing Outlook 365 VBA to access "Other Actions" menu for incoming emails in outlook Outlook VBA and Custom Forms 0
J Unable to delete folders in Outlook 2019 / Windows Using Outlook 1
K Outlook for Mac problems Using Outlook 0
D Outlook app 2021 & iCloud PST issues Using Outlook 2
M c# vsto Outlook.ApplicationEvents_11_NewMailEx Outlook VBA and Custom Forms 1
J Event/Meeting in Outlook Does Not Align with SharePoint Calendar Using Outlook 5
Christopher M Is it me, or is Outlook 365 BUGGY? Using Outlook 3
U Outlook on the iPhone cannot approve filtered Emails Using Outlook 0
J GoDaddy migrated to Office365 - Outlook Wont Add Account Exchange Server Administration 21
K Outlook 365 After migrating to Outlook 365, some contacts display in emails with prefixes Using Outlook 1
J Outlook Rules VBA Run a Script - Multiple Rules Outlook VBA and Custom Forms 0
Horsepower Cannot delete gmail in iPhone Outlook outbox Using Outlook 1
F Outlook 2019 Outlook 2019 Add and Sync to New computer Comcast server Using Outlook 2
M Understanding Outlook Identities Using Outlook 1
kburrows Outlook or Phone Combining Contacts? Using Outlook 0
P Outlook 2013 search no longer works Using Outlook 2
M Accessing ALL Outlook contact fields Outlook VBA and Custom Forms 3
C Outlook (desktop app for Microsoft365) restarts every time I save my VBA? Using Outlook 0
R MailTips and older Outlook versions Using Outlook 0
A iCloud Outlook Add In is causing Outlook 2021 to crash and got disabled Using Outlook 4
C How to import Outlook calendar? Using Outlook 1
HarvMan Outlook 365 loses "outlook.com" exchange server settings Using Outlook 1
HarvMan Outlook.com Account Using Outlook 3
D Office 365 Outlook desktop app prompts for all account passwords on startup Using Outlook 6
D Alerts in outlook Using Outlook 1
richardwing Auto forward email that is moves into a specific outlook folder Outlook VBA and Custom Forms 5
L Recommendations for Utility to Backup Outlook 365 Account Settings Using Outlook 2

Similar threads

Top