Windows 主题常量在哪里定义?

发布于 2024-10-04 02:36:13 字数 377 浏览 0 评论 0原文

我正在查看 Microsoft MFC 源文件 winctrl3.cpp,我看到对 3 个用于绘制检查复选框的状态。我想知道其他选择是什么,所以我去搜索 Visual Studio 附带的源文件,但我一无所获,winctrl3.cpp 中的单个出现是唯一找到的。

我终于找到了一个在线 Microsoft 参考,它告诉我这些值应在 Vsstyle.h 和/或 Vssym32.h 中定义,但我在 Visual Studio 2005 安装中或系统上的其他任何位置都找不到这些文件。我缺少什么?

I'm looking through the Microsoft MFC source file winctrl3.cpp and I see references to 3 symbols CBS_UNCHECKEDNORMAL, CBS_CHECKEDNORMAL, and CBS_UNCHECKEDDISABLED for drawing the check state of a checkbox. I'd like to know what the other choices are so I go searching the source files included with Visual Studio but I'm coming up empty, the single occurrence in winctrl3.cpp is the only one found.

I finally found an online Microsoft reference which tells me the values should be defined in Vsstyle.h and/or Vssym32.h, but I can't find those files in my Visual Studio 2005 installation or anywhere else on my system. What am I missing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

迷爱 2024-10-11 02:36:13

它作为 Windows SDK 的一部分安装在我的系统上(版本 7,在我的具体情况下)。您可能需要执行完整的 SDK 安装才能获取该特定文件,或者它可能是 SDK 中最近添加的内容(即比 Visual Studio 2005 中包含的 SDK 更新)。

It's installed as part of the Windows SDK on my system (version 7, in my particular case). It may be that you need to perform a full SDK install to get that particular file or it may be a fairly recent addition to the SDK (i.e., more recent than the SDK included with Visual Studio 2005).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文