以文本方式查看主题

-  蓝色快车PB俱乐部论坛  (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspindex.asp)
--  PowerBuilder MIS编程  (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspbbs.asp?boardid=1)
----  使你的PB程序具有WinXP风格  (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspdispbbs.asp?boardid=1&rootid=737&id=1461)


--  作者:chunlizh
--  发布时间:2003/8/6 8:55:53

--  使你的PB程序具有WinXP风格
In our case we use an application manifest file that makes sure, that the XP style COMCTL32.DLL is being used. 
  
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" 
                 manifestVersion="1.0"> 
<assemblyIdentity 
    version="1.0.0.0" 
    processorArchitecture="X86" 
    name="sybase.adcqa" 
    type="win32" 
/> 
<description>PB manifest file for XP style</description> 
<dependency> 
    <dependentAssembly> 
        <assemblyIdentity 
            type="win32" 
            name="Microsoft.Windows.Common-Controls" 
            version="6.0.0.0" 
            processorArchitecture="X86" 
            publicKeyToken="6595b64144ccf1df" 
            language="*" 
        /> 
    </dependentAssembly> 
</dependency> 
</assembly>

详细请查看:
http://www.sybase.com/detail?id=1022961

下面是示例:

Figure1: 
Application running on Windows 2000

此主题相关图片如下:
按此在新窗口浏览图片

Figure 2:  
Application running on Windows XP  
without manifest file

此主题相关图片如下:
按此在新窗口浏览图片

Figure 3:  
Application running on Windows XP  
with manifest file

此主题相关图片如下:
按此在新窗口浏览图片


[此贴子已经被chunlizh于2003-8-6 8:55:53编辑过]

--  作者:chnama
--  发布时间:2003/8/6 9:06:58

--  
好东西啊,可惜只有xp下才行
--  作者:zyx_zyx
--  发布时间:2003/12/16 19:34:04

--  
让瞧瞧呀!!!!!!!!!!!!!!!

">