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

问题描述

Microsoft Windows允许程序员使用和。元素由Class,Part和State指定,如 页面。

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.

不幸的是,页面不是很丰富(在所有!)。所以问题是:有没有一个参考的所有这些部分和状态,最好与图像的元素(在默认的Windows Vista / 7主题)?

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)?

推荐答案

我已经创建了一个小型的Windows应用程序,用。该应用程序允许程序员使用当前操作系统主题浏览和浏览所有部件和状态。

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.

可以在



  • http://privat.rejbrand.se/UxExplore.exe

(Delphi, Win32 API)源码,太长,不能在这里发布(由于数百个常量)在

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





  • http://privat.rejbrand.se/UxExplore.zip
  • http://privat.rejbrand.se/UxExploreMain.html
  • http://privat.rejbrand.se/UxExploreConsts.html

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

09-27 00:37