Windows 视觉主题:部件和状态库? [英] Windows Visual Themes: Gallery of Parts and States?

查看:15
本文介绍了Windows 视觉主题:部件和状态库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Microsoft Windows 允许程序员使用诸如

可以在

下载

(Delp Win32 API) 源码,太长不能贴在这里(因为有数百个常量)在

Microsoft Windows lets programmers draw GUI elements using the look and feel of the current theme using functions like DrawThemeBackground and DrawThemeText. The elements are specified by Class, Part, and State, as described at the Parts and States page at MSDN.

Unfortunately, the page is not very informative (at all!). So the question is: is there somewhere a reference of all these parts and states, preferably with images of the elements (in the default Windows Vista/7 theme)?

解决方案

I have created a small Windows application, programmed with the table at Parts and States. This application lets the programmer browse and explore all parts and states, using the current OS theme.

It can be downloaded at

The (Delphi, Win32 API) source, which is too long to be posted here (due to hundreds of constants) is found at

这篇关于Windows 视觉主题:部件和状态库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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