Ribbon Xml CheckBox getPressed回调问题 [英] Ribbon Xml CheckBox getPressed callback issue

查看:542
本文介绍了Ribbon Xml CheckBox getPressed回调问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好


我为编辑图片创建了一个自定义功能区。我想要做的是创建一些代码来插入图像,然后按我的功能区中的裁剪按钮


我虽然可以使用getpressed回调。但是当我使按钮无效时,它不会运行getpressed函数 

解决方案

Hello Anthony,请使用OnAction Callback。以下是开始的好方法:https://msdn.microsoft.com/en-us/library/dd548011%28v=office.12%29.aspx?f=255&MSPPError=-2147217396希望这有帮助,

Hi all

I created a custom ribbon for Editing pictures. What i want to do is to create some code to insert an image and the press the Crop button from my ribbon

I though that i can use the getpressed callback. But when i invalidate the button it doesn't run the getpressed function 

解决方案

Hello Anthony, Please use OnAction Callback. The following would be good way to start: https://msdn.microsoft.com/en-us/library/dd548011%28v=office.12%29.aspx?f=255&MSPPError=-2147217396 Hope this helps,


这篇关于Ribbon Xml CheckBox getPressed回调问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆