T
Tonny
Hi.
Does any one know why the IRibbonExtensibility callback function doesn't work.
The implementation method just like below:
STDMETHOD(ButtonClicked)(Office::IRibbonControl *RibbonControl)
{
return m_pRibbon->MethodGoesHere(....);
}
and the ribbon xml looks something like the following:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon>
<tabs>
<tab id="CustomTab" label="My Label">
<group id="SampleGroup" label="Sample Group">
<button id="Button" label="Click Here" size="large"
onAction="ButtonClicked" />
</group >
</tab>
</tabs>
</ribbon>
</customUI>
The button can be added to the office app,but the click event can't be
triggered.
Who knows the reason. it seems that this is a common issue but no one can
help on it.
Does any one know why the IRibbonExtensibility callback function doesn't work.
The implementation method just like below:
STDMETHOD(ButtonClicked)(Office::IRibbonControl *RibbonControl)
{
return m_pRibbon->MethodGoesHere(....);
}
and the ribbon xml looks something like the following:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon>
<tabs>
<tab id="CustomTab" label="My Label">
<group id="SampleGroup" label="Sample Group">
<button id="Button" label="Click Here" size="large"
onAction="ButtonClicked" />
</group >
</tab>
</tabs>
</ribbon>
</customUI>
The button can be added to the office app,but the click event can't be
triggered.
Who knows the reason. it seems that this is a common issue but no one can
help on it.