none
Ribbon CallBack is not called RRS feed

  • Question

  • I am trying to implement a Ribbon with buttons in a C++ COM Addin for Word.  I have the Ribbon in XML in my prototype.When  I run the word with a normal user, OnButtonEnable is not executed, but if I run word with the administrator, OnButtonEnable is executed.

     <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="OnLoadCustomUI" loadImage="GetImage">
     <ribbon startFromScratch="false">
    	 <tabs>
     		<tab id="MyTab" label="MyTab">
    			 <group id="MyTabGroup" label="MyTabGroup">
    				<button id="MyID" label="MyID" size="large" image="636" screentip="MyID" getEnabled="OnButtonEnable" />
    			</group>
    		</tab>
    	</tabs>
    </ribbon>
    </customUI>

    Tuesday, September 3, 2019 2:49 AM