惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
A
About on SuperTechFans
博客园 - 【当耐特】
Microsoft Security Blog
Microsoft Security Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
雷峰网
雷峰网
博客园_首页
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
IT之家
IT之家
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
博客园 - 聂微东
B
Blog RSS Feed
H
Help Net Security
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
D
DataBreaches.Net
L
LangChain Blog
Vercel News
Vercel News

博客园 - 蓝箭GZ

[转载]AgileEAS.NET 敏捷软件开发平台 致力于中小企业快速应用开发 原创:分享通过简单设置提速3D游戏!(如果内存大,请禁用虚拟内存。) 原创:EXT2.0通过ASP动态生成json数据并分页! 原创:分享大内存的XP系统终极优化经验! 原创:VS2005开发的一些实用经验一(VB.NET--WINFORM) 转贴:Vbs脚本编程简明教程! 终于找到一款非常强大的程序代码编辑器PrimalScript v4.0.484汉化版! 空牙-游戏音乐合成视频 转:怀念街机的那段传奇历史 原创:ASP.NET2.0中使用AJAX1.0控件的一点经验 原创:基于VB的ASP.NET2.0的事务及错误处理 原创:Flash cs3 等软件不能在win2003sp1上安装的问题解决(安装遇到错误无法继续, 无法访问Windows Installer服务......) 原创:简单的ASP无组件上传原理实践总结! 原创:我理解的ActiveX组件和对象 (转贴) Microsoft XML 分析器 (MSXML) 的版本列表 (转贴) Microsoft .NET Framework 的版本列表 关于网上的一篇很好的文章(RECORDSET对象详解)所存在的错误! (转贴) ADO.NET的开发场景及传统ADO的处理 (转贴) 数据库设计三大范式应用实例剖析
转贴:检测系统颜色与使用字体
蓝箭GZ · 2008-02-22 · via 博客园 - 蓝箭GZ
 

检测系统颜色与使用字体

提示:下面的例子分别显示了如何获得用户Window的颜色

你的设置

使用名称

描述

activeborder

活动窗口的边框

activecaption

活动的标题栏

appworkspace

应用程序背景

background

桌面

buttonface

按钮表面

buttonhighlight

按钮高光

buttonshadow

按钮阴影

buttontext

按钮字体

captiontext

标题字体

graytext

灰色文字

highlight

选择状态背景

highlighttext

选择状态字体

inactiveborder

非活动的窗口边框

inactivecaption

非活动的窗口标题

inactivecaptiontext

非活动的窗口标题字体

infobackground

提示背景

infotext

提示字体

menu

菜单背景色

menutext

菜单字体

scrollbar

滚动条背景色

threeddarkshadow

立体对象的深色

threedface

立体对象的表面

threedhighlight

立体对象的突出

threedlightshadow

立体对象的高光

threedshadow

立体对象的阴影

window

窗口的背景

windowframe

窗口的框架

windowtext

视窗字体


提示:下面的例子分别显示了如何获得用户Window的字体

字体名称

描述

no value

默认的字体

caption

标题的字体

icon

图标下方的字体

menu

菜单字体

messagebox

对话框的字体

smallcaption

提示字体

statusbar

状态栏的字体

使用十分简单: style="background: 名称" style="background: windowframe" 这就显示了窗口框架的颜色。

源码:

<HTML>

<HEAD>

<TITLE>检测系统颜色与使用字体-中国站长站www.chinaz.com</TITLE>

<STYLE type=text/css>

body,td,a{font:menu}

</STYLE>

</HEAD>

<BODY id=all text=#000000 bgColor=#336699>

<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>

  <TR bgColor=#ffffff>

    <TD width="100%">

      <table width="100%" border="0" cellpadding="8">

        <tr>

          <td align="center">

<font color=#7d070c style="font-size: 14px">检测系统颜色与使用字体</font>

          </td>

        </tr>

        <tr>

          <td bgcolor="#f7f7f7"><!-- #BeginEditable "example" -->提示:下面的例子分别显示了如何获得用户Window的颜色<br>

            <table border="0" cellspacing="0" cellpadding="1" width="80%" align="center">

              <tr bgcolor="#f7f7f7">

                <th>你的设置</th>

                <th>使用名称</th>

                <th>描述</th>

              </tr>

              <tr>

                <td style="background: activeborder"></td>

                <td style="text-align: center;">activeborder</td>

                <td>活动窗口的边框</td>

              </tr>

              <tr>

                <td  style="background: activecaption"></td>

                <td style="text-align: center;">activecaption</td>

                <td>活动的标题栏</td>

              </tr>

              <tr>

                <td  style="background: appworkspace"></td>

                <td style="text-align: center;">appworkspace</td>

                <td>应用程序背景</td>

              </tr>

              <tr>

                <td  style="background: background"></td>

                <td style="text-align: center;">background</td>

                <td>桌面</td>

              </tr>

              <tr>

                <td  style="background: buttonface"></td>

                <td style="text-align: center;">buttonface</td>

                <td>按钮表面</td>

              </tr>

              <tr>

                <td  style="background: buttonhighlight"></td>

                <td style="text-align: center;">buttonhighlight</td>

                <td>按钮高光</td>

              </tr>

              <tr>

                <td  style="background: buttonshadow"></td>

                <td style="text-align: center;">buttonshadow</td>

                <td>按钮阴影</td>

              </tr>

              <tr>

                <td  style="background: buttontext"></td>

                <td style="text-align: center;">buttontext</td>

                <td>按钮字体</td>

              </tr>

              <tr>

                <td  style="background: captiontext"></td>

                <td style="text-align: center;">captiontext</td>

                <td>标题字体</td>

              </tr>

              <tr>

                <td  style="background: graytext"></td>

                <td style="text-align: center;">graytext</td>

                <td>灰色文字</td>

              </tr>

              <tr>

                <td  style="background: highlight"></td>

                <td style="text-align: center;">highlight</td>

                <td>选择状态背景</td>

              </tr>

              <tr>

                <td  style="background: highlighttext"></td>

                <td style="text-align: center;">highlighttext</td>

                <td>选择状态字体</td>

              </tr>

              <tr>

                <td  style="background: inactiveborder"></td>

                <td style="text-align: center;">inactiveborder</td>

                <td>非活动的窗口边框</td>

              </tr>

              <tr>

                <td  style="background: inactivecaption"></td>

                <td style="text-align: center;">inactivecaption</td>

                <td>非活动的窗口标题</td>

              </tr>

              <tr>

                <td  style="background: inactivecaptiontext"></td>

                <td style="text-align: center;">inactivecaptiontext</td>

                <td>非活动的窗口标题字体</td>

              </tr>

              <tr>

                <td  style="background: infobackground"></td>

                <td style="text-align: center;">infobackground</td>

                <td>提示背景</td>

              </tr>

              <tr>

                <td  style="background: infotext"></td>

                <td style="text-align: center;">infotext</td>

                <td>提示字体</td>

              </tr>

              <tr>

                <td  style="background: menu"></td>

                <td style="text-align: center;">menu</td>

                <td>菜单背景色</td>

              </tr>

              <tr>

                <td  style="background: menutext"></td>

                <td style="text-align: center;">menutext</td>

                <td>菜单字体</td>

              </tr>

              <tr>

                <td  style="background: scrollbar"></td>

                <td style="text-align: center;">scrollbar</td>

                <td>滚动条背景色</td>

              </tr>

              <tr>

                <td  style="background: threeddarkshadow"></td>

                <td style="text-align: center;">threeddarkshadow</td>

                <td>立体对象的深色</td>

              </tr>

              <tr>

                <td  style="background: threedface"></td>

                <td style="text-align: center;">threedface</td>

                <td>立体对象的表面</td>

              </tr>

              <tr>

                <td  style="background: threedhighlight"></td>

                <td style="text-align: center;">threedhighlight</td>

                <td>立体对象的突出</td>

              </tr>

              <tr>

                <td  style="background: threedlightshadow"></td>

                <td style="text-align: center;">threedlightshadow</td>

                <td>立体对象的高光</td>

              </tr>

              <tr>

                <td  style="background: threedshadow"></td>

                <td style="text-align: center;">threedshadow</td>

                <td>立体对象的阴影</td>

              </tr>

              <tr>

                <td  style="background: window"></td>

                <td style="text-align: center;">window</td>

                <td>窗口的背景</td>

              </tr>

              <tr>

                <td  style="background: windowframe"></td>

                <td style="text-align: center;">windowframe</td>

                <td>窗口的框架</td>

              </tr>

              <tr>

                <td  style="background: windowtext"></td>

                <td style="text-align: center;">windowtext</td>

                <td>视窗字体</td>

              </tr>

            </table>

            <br>

            提示:下面的例子分别显示了如何获得用户Window的字体<br>

            <table border="0" cols=2 align="center" width="80%" cellpadding="1" cellspacing="0">

              <tr bgcolor="#f7f7f7">

                <th>字体名称</th>

                <th>描述</th>

              </tr>

              <tr>

                <td style="text-align: center;"><em>no value</em></td> 

                <td>默认的字体</td> 

              </tr> 

              <tr>  

                <td style="text-align: center;">caption</td> 

                <td style="font: caption">标题的字体</td> 

              </tr> 

              <tr>  

                <td style="text-align: center;">icon</td> 

                <td style="font: icon">图标下方的字体</td> 

              </tr> 

              <tr>  

                <td style="text-align: center;">menu</td> 

                <td style="font: menu">菜单字体</td> 

              </tr> 

              <tr>  

                <td style="text-align: center;">messagebox</td> 

                <td style="font: messagebox">对话框的字体</td> 

              </tr> 

              <tr>  

                <td style="text-align: center;">smallcaption</td> 

                <td style="font: smallcaption">提示字体</td> 

              </tr> 

              <tr>  

                <td style="text-align: center;">statusbar</td> 

                <td style="font: statusbar">状态栏的字体</td> 

              </tr> 

            </table> 

            <!-- #EndEditable --></td> 

        </tr> 

        <tr>  

          <td><!-- #BeginEditable "code" -->使用十分简单:<font color="#990000"> style="background:  

            名称" </font> style="background: windowframe" 这就显示了窗口框架的颜色。<!-- #EndEditable --></td> 

        </tr> 

      </table> 

    </TD> 

  </TR> 

</TABLE> 

</BODY> 

<!-- #EndTemplate --> 

</HTML>