分享

Windows使用xp控件

 飞_月 2012-05-28
1、新建工程,在Resource View视图中import相关的皮肤资源
2、插入资源XPStyle.manifest,属性值设为1
3、打开*.rc 修改  174行的DISCARDABLE为MOVEABLE PURE。
说明:插入资源后名称为24不打引号,其下资源值直接取1,没理由!
 
 
注意:需要XPStyle.manifest,自己新建一个文件,以XPStyle.manifest命名,内容如下:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity 
  name="XP style manifest" 
  processorArchitecture="x86" 
  version="1.0.0.0" 
  type="win32"/>
<dependency> 
  <dependentAssembly> 
    <assemblyIdentity 
      type="win32" 
      name="Microsoft.Windows.Common-Controls" 
      version="6.0.0.0" 
      processorArchitecture="x86" 
      publicKeyToken="6595b64144ccf1df" 
      language="*" 
    /> 
  </dependentAssembly>
</dependency>
</assembly>  
 
效果:
 
 
 
 
 
 
 
 
 
 

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多