Re: IRibbonExtensibility and custom ribbon image
- From: "NickP" <a@xxxxx>
- Date: Fri, 7 Sep 2007 10:35:18 +0100
Hi Jialiang,
Please refer to my reply to Sven which clarifies my question a little
more.
I have the interface created via following an article that I found,
unfortunately I have an issue trying to resolve the interface.
Thanks for your time and help.
Nick.
"Jialiang Ge [MSFT]" <jialge@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:HE0rFpR8HHA.5532@xxxxxxxxxxxxxxxxxxxxxxxxx
Hello Nick,
From your post, my understanding on this issue is: you wonder why your
callback function is not fired and how to set a custom image for ribbon
button. If I'm off base, please feel free to let me know.
For the first question, I wonder whether you have switched on the display
of the add-in UI error? Would you let me know the error message. To do so,
use Word Options->Advanced->General section->Show add-in user interface
errors. When it is switched on, you could see all errors related to the
add-in, which include "not find callbackfunction" or any runtime errors in
the callbacks. Besides, please refer to the following page which describe
a
similar question to yours: (It also contains a full sample code about how
to set callbacks for your reference.)
http://www.eggheadcafe.com/software/aspnet/28728411/-iribbonextensibility.as
px
Is the callback function a member of your add-in class rather than a
member
of IribbonExtensibility? (See picture:
http://www.vczx.com/article/img/20070402151438_addin_7.gif,
http://www.vczx.com/article/img/20070402151507_addin_8.gif) .
For the second question, the attribute imageMso specifies a built-in icon
to display on the button.
<button id="Button1" imageMso="HappyFace" size="large" label="MyButton" />
See the section "Ribbon XML File Reference" in MSDN
http://msdn2.microsoft.com/en-us/library/aa942866(VS.80).aspx
Please let me know if you have any other concerns, or need anything else.
Sincerely,
Jialiang Ge (jialge@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support
==================================================
For MSDN subscribers whose posts are left unanswered, please check this
document: http://blogs.msdn.com/msdnts/pages/postingAlias.aspx
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express/Windows Mail, please make sure
you clear the check box "Tools/Options/Read: Get 300 headers at a time" to
see your reply promptly.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
.
- References:
- IRibbonExtensibility and custom ribbon image
- From: NickP
- Re: IRibbonExtensibility and custom ribbon image
- From: NickP
- Re: IRibbonExtensibility and custom ribbon image
- From: NickP
- Re: IRibbonExtensibility and custom ribbon image
- From: Jialiang Ge [MSFT]
- IRibbonExtensibility and custom ribbon image
- Prev by Date: Re: IRibbonControl C++
- Next by Date: Re: IRibbonExtensibility and custom ribbon image
- Previous by thread: Re: IRibbonExtensibility and custom ribbon image
- Next by thread: Re: IRibbonExtensibility and custom ribbon image
- Index(es):