There is a setting in the Tools, Options advanced tab to show UI ribbon
errors that can sometimes be helpful, at least to localizing the error to
the XML line.
I'd have to get back to you on your repurposing XML, I only played with that
a little and it was a few years ago.
--
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
"John Erickson" wrote in message
...
Thanks Ken! I was able to use the hover technique to get the idMso values
that I need to repurpose. I think I am having issues with the xml format
though. I wish IRibbonExtensibility::GetCustomUI was designed differently
so
that it was able to return an error code on poorly formatted xml and give
me
some clues as to what's wrong. Since this is only my second attempt at
submitting xml for this call (Jenson Harris' example in using RibbonX with
C++ and ATL being my first), perhaps you can take a quick look at the xml
I'm
providing and tell me what I'm doing wrong. The reason I think I'm having
XML
issues is that I never see a call to my IDispatch::GetIDsOfNames when I
click
the appropriate button. Here's the XML I'm returning:
customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
ribbon
commands
command idMso="JunkEmailAddToBlockedSendersList" onAction="OnABSL"
command idMso="JunkEmailAddToSafeSendersList" onAction="OnASSL"
command idMso="JunkEmailAddToSafeDomainList" onAction="OnASDL"
command idMso="JunkEmailOptions" onAction="OnOptions"
command idMso="JunkEmailMarkAsNotJunk" onAction="OnMarkAsNotJunk"
/commands
/ribbon
/customUI
John