在命令codeS为ExecuteMso记录? [英] Are the command codes for ExecuteMso documented?

查看:136
本文介绍了在命令codeS为ExecuteMso记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

微软Office应用程序有一个令人难以置信的API ,让状态之一中执行,它是从UI访问的任何命令,但不可从对象模型。具体地说,可以使用 ExecuteMso()执行任何命令按钮,切换按钮或分割按钮。该文件说:

MS Office apps have an incredible API that lets one execute any command that is accessible from the UI, but inaccessible from the Object Model. Specifically, you can use ExecuteMso() to execute any command button, toggle button or split button. The docs say:

前pression.GetEnabledMso(idMso)

idMso - 标识符控制(字符串)

idMso - Identifier for the control (String)

是字符串命令codeS记录任何地方?办公应用程序有成千上万,可以在选项对话框中查看独特的命令,它会是不错的所有这些字符串codeS的参考。

Are the string command codes documented anywhere? Office apps have thousands of unique commands that can be viewed in the Options dialog, and it would be nice to have a reference of the string codes for all of these.

推荐答案

有这些:

的Office 2010: Office Fluent用户界面控件标识符

Office 2010: Office Fluent User Interface Control Identifiers

2013办公室: Office Fluent用户界面控件标识符

和看到进一步的 http://www.rondebruin.nl/win/s2/win003热媒

这篇关于在命令codeS为ExecuteMso记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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