本站启用国内永久域名: www.LewenSky.cn,请大家使用新域名访问网站!
9月6

使用WindowsXP风格的对话框(VC实现XP风格)

| |
1、插入资源,选择"Custom",输入“24”作为资源的内型。

2、拷贝如下XML脚本到资源编辑器。



<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
type="win32"
    name="DelphiApplication"
    version="1.0.0.0"
processorArchitecture="*"/>
<dependency>
    <dependentAssembly>
      <assemblyIdentity
        type="win32"
        name="Microsoft.Windows.Common-Controls"
        version="6.0.0.0"
        publicKeyToken="6595b64144ccf1df"
        language="*"
        processorArchitecture="*"/>
    </dependentAssembly>
</dependency>
</assembly>





3、把资源ID设置为1

4、重新编译工程

5.  至此你的程序已经具有漂亮的Windows XP对话框了。



出处:月光软件站
转载时必须以链接形式注明出处及本声明!


最新日志 随机日志 综合排行
  • OFFICE 2010 VOL...
  • 格式工厂绿色版 V2.90
  • Password Invent...
  • VideoCacheView ...
  • 电脑店U盘启动盘制作工具 3....
  • 阿里旺旺AliIM2011_7...
  • 极点五笔十周年纪念版
  • PPTV网络电视3.1.1.0...
  • WinRAR注册方法
  • 紫光华宇拼音输入法 6.8.0...
  • 会声会影X3 V13.0 简体...
  • PPTV网络电视3.0.4.0...
  • VideoCacheView ...
  • WWW File Share ...
  • 硬盘备份工具(Symantec...
  • WhatInStartup 1...
  • [03-09]每日绿茶软件友情...
  • 中国网络电视台CNTV 2.0...
  • WinRAR 4.0 Beta...
  • 常用运行库安装包090909(...
  • 安装软件时出现系统提示&quo...
  • XP与XP无线共享设置(笔记本...
  • ZineMaker目录模板大集...
  • 没有不可能 轻松实现PDG转P...
  • CString转char的方法...
  • [转]MSDN精简版、MSDN...
  • 将IE、FIREFOR (火狐...
  • VC多线程编程(转)
  • MyEclipse6.5下载地...
  • Diskeeper 2010 ...
  • Tags: , ,
    阅读(2978) | 评论(0) | 引用(0)
    发表评论
    表情
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    打开HTML
    打开UBB
    打开表情
    隐藏
    记住我
    昵称   密码   游客无需密码
    网址   电邮   [注册]