VC6 轻松实现 xp 样式控件

在VC6资源编辑试图下点击Insert(插入),然后选择Custom(自定义),在Resource Type(资源类别)填上24,然后将新插入的资源属性改为如下


在右边内资源容中黏贴输入 :

  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
  2.       <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 
  3.       <assemblyIdentity 
  4.         name="XP style manifest" 
  5.         processorArchitecture="x86" 
  6.         version="1.0.0.0" 
  7.         type="win32"/> 
  8.       <dependency> 
  9.         <dependentAssembly> 
  10.           <assemblyIdentity 
  11.             type="win32" 
  12.             name="Microsoft.Windows.Common-Controls" 
  13.             version="6.0.0.0" 
  14.             processorArchitecture="x86" 
  15.             publicKeyToken="6595b64144ccf1df" 
  16.             language="*" 
  17.           /> 
  18.         </dependentAssembly> 
  19.       </dependency> 
  20.       </assembly> 

最后把资源id改为1,

再次编译执行你的程序,完工!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值