I have a COM addin that I am working on (in VB6) for use in Outlook 2007. One of the things I am trying to do is to intercept the "Send" button on the appointment form.
I have written some XML for this (in the IRibbonExtensibility_GetCustomUI function) and it works fine for the "Send" button on the menu in the appointment form but I cannot intercept the main "big button" that says "Send" on the appointment fom that is located under the Ribbon and to the left side of the "To";"Subject" and "Location" boxes.
I looked at the list of control name id's specified in the excel sheet from Microsoft for Outlook and that is where I got the control name for the other menu send buttons, but I couldn't identify the large Send button.
Here is the XML code I am using:
"<customUI xmlns=""http://schemas.microsoft.com/office/2006/01/ customui"">" & _ "<commands>" & _ "<command idMso=""SendItem"" onAction=""SendButton_Action"" />" & _ "</commands>" & _ "</customUI>"
Does anyone know what the control name for the large Send button on the appointment form is? Is it even considered part of the Ribbon or should I be capturing it another way?
Lastly, is there any type of utility out there that let's you open an Office application and point to a control on the window and have it identify the Control Name/ID for you?
Thanks for any help you can provide.
George
|
|