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
KurtLass Opening Graphics Attachments in Outlook 2021 Using Outlook 0
P now on office 365 but getting error messages about missing Outlook 2013 cache folders Using Outlook 2
B Outlook config download Outlook VBA and Custom Forms 1
M Short term workaround for when Outlook searching stopped functioning Using Outlook 0
D Outlook 2016 Creating an outlook Macro to select and approve Outlook VBA and Custom Forms 0
L Fetch, edit and forward an email with VBA outlook Outlook VBA and Custom Forms 2
BartH VBA no longer working in Outlook Outlook VBA and Custom Forms 1
L Synch Outlook 365 calendar with iPhone Using Outlook 0
W Can vba(for outlook) do these 2 things or not? Outlook VBA and Custom Forms 2
S Outlook 2016 and Acrobat PDFMaker Office COM Addin Using Outlook 0
M "Attachment Detacher for Outlook" add in, does it update the server copy of the email? Using Outlook 1
M Outlook 365 Rename Outlook Priority Using Outlook 3
R Outlook 2019 accesses POP3 but says its offline (because of IMAP servers?) Using Outlook 0
R Outlook Working off line Using Outlook 0
D Outlook 365 Custom forms field limit? Outlook VBA and Custom Forms 4
W Outlook 2016 MSI - Possible to make work with O365 modern Auth & Win7? Using Outlook 4
T Outlook roaming signatures Using Outlook 4
S Adding a recipient's column to Sent folder in Outlook 2010 Outlook VBA and Custom Forms 1
J Outlook search bar in Office 2021 Professional Using Outlook 1
J PSA: How to create custom keyboard shortcut for "Paste Unformatted Text" in Outlook on Windows Outlook VBA and Custom Forms 1
C How to fix outlook continuing to prompt fo an Exchange password Using Outlook 0
C Outlook doesn't feel reliable, anymore Using Outlook 5
J Outlook 2016 Trying to get Outlook 2016 to work with Office 365 Using Outlook 0
C Outlook 365 Copy/Save Emails in Folder Outside Outlook to Show Date Sender Recipient Subject in Header Using Outlook 0
U Outlook not responding when trying to print Emails Using Outlook 5
O How to sync (one way) contacts between two Outlook (exchange) accounts? Using Outlook 0
S Sync Outlook (2021) tasks with Microsoft To Do Using Outlook 1
L Duplicate calendar entries in Outlook 365 Using Outlook 4
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 5
S Outlook 2021 How to customize colors Outlook 2021 & Office 2021 on PC Using Outlook 2
D Outlook 2007 Recovering E-Mails Using Outlook 0
G Stop Outlook 365 adding meetings to calendar Using Outlook 2
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

Similar threads

Top