联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 offers all the data returned by SystemPa - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为18996
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • Air Traffic Controller
  • PoolMan
  • virtualdub-win
  • Apache-SSL-Jserv
  • CppUnit
  • FCK editor
  • GLgraph
  • Async Professional
  • -= 更多 =-

    项目描述:
    This sample provides a handy little class that offers all the data returned by SystemParametersInfo when used with SPI_GETNONCLIENTMETRICS. This includes the standard border width for forms, the height or width of horizontal or vertical scrollbars, the height of standard and small captions, and a few other metrics. But, perhaps most interesting of all, it shows how to convert a LOGFONT structure to a StdFont object. You'll be able to immediately assign Message, Caption, or Menu fonts to your controls by just instantiating this class and referencing the appropriate property.

    这个例子提供的一个方便的类封装了在SPI_GETNONCLIENTMETRICS中SystemParametersInfo 返回的所有数据。这包括标准的边界宽度、水平或垂直滚动条的高度或宽度,标准小标题的高度,以及一些其它度量。但,最有趣的或许是如何将一个LOGFONT 结构转换为一个StdFont 对象。你可以立即分配一个消息、标题或菜单字体为你的控件,只需要实例化这个类,并引用适当的属性。
    来源: http://www.mvps.org/vb/
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    NCMetrics  1.0  2004-04-18 下载

    原始下载连接(国外) http://www.mvps.org/vb/code/NCMetrics.zip

      » 合 作 伙 伴