Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想获取单词位置,以便我可以在功能区控件的事件处理程序中相对于屏幕上的单词定位对话框
私人无效按钮1_Click(对象发送者,RibbonControlEventArgs e)
如何得到它?我的意思是没有位置或点属性告诉屏幕坐标。
我遇到过同样的问题。不知道为什么,但 RibbonControl 类没有提供 Location 属性。
坐标可能位于 COM 对象中的某个位置,但我不是 Excel 专家。
还有人遇到这个吗?