![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I am not having any luck capturing the event when a user presses the
large size "Send" button an a meeting form. I get the event for the menu "Send" command, but not the button. I am assuming that it is probably poorly formed XML string I am using in the IRibbonExtensibility_GetCustomUI function. I have played around with it a bunch but noting seems to work. This is the latest attemp of what I was using: "customUI xmlns=""http:// schemas.microsoft.com/office/2006/01/customui""" & _ "ribbon" & _ "tabs" & _ "tab idMso=""TabHome""" & _ "group idMso=""Send""" & _ "button idMso=""SendDefault"" onAction=""SendButton_Action"" /" & _ "/group" & _ "/tab" & _ "/tabs" & _ "/ribbon" & _ "/customUI" Does anyone have an example XML string that captures that "large button" on the actual form? Thanks! |
#2
|
|||
|
|||
![]()
You're supplying the XML when GetCustomUI() calls for
"Microsoft.Outlook.MeetingRequest.Send"? Tab idMSO = "TabNewMailMessage" Group idMSO = "GroupSend" Control idMSO = "SendDefault" That's for a meeting request. You can download the schemas for all the ribbons in Office 2007 from the Office Developer site at MSDN. -- 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 "GR" wrote in message ... I am not having any luck capturing the event when a user presses the large size "Send" button an a meeting form. I get the event for the menu "Send" command, but not the button. I am assuming that it is probably poorly formed XML string I am using in the IRibbonExtensibility_GetCustomUI function. I have played around with it a bunch but noting seems to work. This is the latest attemp of what I was using: "customUI xmlns=""http:// schemas.microsoft.com/office/2006/01/customui""" & _ "ribbon" & _ "tabs" & _ "tab idMso=""TabHome""" & _ "group idMso=""Send""" & _ "button idMso=""SendDefault"" onAction=""SendButton_Action"" /" & _ "/group" & _ "/tab" & _ "/tabs" & _ "/ribbon" & _ "/customUI" Does anyone have an example XML string that captures that "large button" on the actual form? Thanks! |
#3
|
|||
|
|||
![]()
On Oct 20, 10:06*am, "Ken Slovak - [MVP - Outlook]"
wrote: You're supplying the XML when GetCustomUI() calls for "Microsoft.Outlook.MeetingRequest.Send"? Tab idMSO = "TabNewMailMessage" Group idMSO = "GroupSend" Control idMSO = "SendDefault" That's for a meeting request. You can download the schemas for all the ribbons in Office 2007 from the Office Developer site at MSDN. -- 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 "GR" wrote in message ... I am not having any luck capturing the event when a user presses the large size "Send" button an a meeting form. I get the event for the menu "Send" command, but not the button. I am assuming that it is probably poorly formed XML string I am using in the IRibbonExtensibility_GetCustomUI function. I have played around with it a bunch but noting seems to work. This is the latest attemp of what I was using: * * * * * * * * * * * *"customUI xmlns=""http:// schemas.microsoft.com/office/2006/01/customui""" & _ * * * * * * * * * * * *"ribbon" & _ * * * * * * * * * * * *"tabs" & _ * * * * * * * * * * * *"tab idMso=""TabHome""" & _ * * * * * * * * * * * *"group idMso=""Send""" & _ * * * * * * * * * * * *"button idMso=""SendDefault"" onAction=""SendButton_Action"" /" & _ * * * * * * * * * * * *"/group" & _ * * * * * * * * * * * *"/tab" & _ * * * * * * * * * * * *"/tabs" & _ * * * * * * * * * * * *"/ribbon" & _ * * * * * * * * * * * *"/customUI" Does anyone have an example XML string that captures that "large button" on the actual form? Thanks!- Hide quoted text - - Show quoted text - Actually, I am supplying the XML when GetCustomUI() calls for "Microsoft.Outlook.Appointment". My custom form is based on the appointment form. The code for this is getting called, however I don't think I am using the correct IDMso's for the tab/group/control. Any idea for this? |
#4
|
|||
|
|||
![]()
There is no Send button on an Appointment form by default, you'd have to
make it visible and enabled. Try using idMSO = "TabAppointment" for the tab idMSO in an appointment item. The group and control should have the same idMSO values you're using. And download that XML schemas download from the developer Web site. -- 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 "GR" wrote in message ... snip Actually, I am supplying the XML when GetCustomUI() calls for "Microsoft.Outlook.Appointment". My custom form is based on the appointment form. The code for this is getting called, however I don't think I am using the correct IDMso's for the tab/group/control. Any idea for this? |
#5
|
|||
|
|||
![]() Hi Ken, Thanks for the quick reply. I have downloaded the schemas but am not seeing what I need there (or at least not getting it :-). I have tried setting the idMSO="TabAppointment" as suggested but I receive this eror message: " controls in a built-in group cannot be modified" when the XML loads. Thanks. On Oct 20, 2:27*pm, "Ken Slovak - [MVP - Outlook]" wrote: There is no Send button on an Appointment form by default, you'd have to make it visible and enabled. Try using idMSO = "TabAppointment" for the tab idMSO in an appointment item. The group and control should have the same idMSO values you're using. And download that XML schemas download from the developer Web site. -- 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 "GR" wrote in message ... snip Actually, I am supplying the XML when GetCustomUI() calls for "Microsoft.Outlook.Appointment". My custom form is based on the appointment form. The code for this is getting called, however I don't think I am using the correct IDMso's for the tab/group/control. Any idea for this? |
#6
|
|||
|
|||
![]()
So what does your XML look like now?
It should have something like this in it for repurposing that control: customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" commands command idMso="SendDefault" onAction="SendButton_Action"/ /commands /customUI Sorry I missed that before, that you were repurposing that control. -- 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 "GR" wrote in message ... Hi Ken, Thanks for the quick reply. I have downloaded the schemas but am not seeing what I need there (or at least not getting it :-). I have tried setting the idMSO="TabAppointment" as suggested but I receive this eror message: " controls in a built-in group cannot be modified" when the XML loads. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to hide/disable send button in Outlook 2007 | jubergolandaj | Outlook - Using Forms | 2 | August 21st 09 05:01 PM |
How to hide/disable send button in Outlook 2007 | jubergolandaj | Outlook and VBA | 1 | August 11th 09 03:11 PM |
How to hide/disable send button in Outlook 2007 | jubergolandaj | Outlook - Using Forms | 1 | August 11th 09 03:09 PM |
Outlook 2007 SEND button behavior | Burton Roberts | Outlook - General Queries | 1 | May 10th 07 03:19 PM |
send open mail item to specific printer from button | Susan | Outlook and VBA | 0 | June 2nd 06 06:33 PM |