PC Review


Reply
Thread Tools Rate Thread

how to capture outlook 2007 events

 
 
Ashish
Guest
Posts: n/a
 
      28th Jul 2009
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.


 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      28th Jul 2009
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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Ashish" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
>
>


 
Reply With Quote
 
Ashish
Guest
Posts: n/a
 
      29th Jul 2009
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)
"Ken Slovak - [MVP - Outlook]" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm
>
>
> "Ashish" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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.
>>
>>

>



 
Reply With Quote
 
Ashish
Guest
Posts: n/a
 
      29th Jul 2009
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.


"Ken Slovak - [MVP - Outlook]" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm
>
>
> "Ashish" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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.
>>
>>

>



 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      29th Jul 2009
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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Ashish" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
outlook add-in, add-in for outlook, outlook contact capture, capturecontacts into outlook, outlook add-on, address capture, capture name,addresses, import contacts to Outlook, transfer contact details into outlook Dhan Microsoft Outlook Program Addins 0 24th Apr 2010 09:03 AM
PPT 2007: Capture Events Girish Microsoft Powerpoint 1 8th Jan 2010 02:26 PM
Events in Outlook 2007 FLW300 Microsoft Outlook Discussion 1 5th Nov 2009 03:16 AM
Capture Outlook Items' events in VBA? John Riddle Microsoft Outlook VBA Programming 15 7th May 2009 03:10 PM
Outlook 2007 To-Do Bar All Day events =?Utf-8?B?S2V2aW4gRHVubg==?= Microsoft Outlook Discussion 2 14th Jul 2006 11:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:59 PM.