惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Hacker News - Newest:
Hacker News - Newest: "LLM"
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
L
LINUX DO - 最新话题
Cloudbric
Cloudbric
N
News and Events Feed by Topic
S
Secure Thoughts
Vercel News
Vercel News
S
Security @ Cisco Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
SegmentFault 最新的问题
Hacker News: Ask HN
Hacker News: Ask HN
博客园 - 聂微东
WordPress大学
WordPress大学
Google Online Security Blog
Google Online Security Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Google DeepMind News
Google DeepMind News
PCI Perspectives
PCI Perspectives
雷峰网
雷峰网
Hugging Face - Blog
Hugging Face - Blog
Blog — PlanetScale
Blog — PlanetScale
Apple Machine Learning Research
Apple Machine Learning Research
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threat Research - Cisco Blogs
博客园 - 司徒正美
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
A
About on SuperTechFans
P
Proofpoint News Feed
大猫的无限游戏
大猫的无限游戏
V
V2EX
I
Intezer
H
Hacker News: Front Page
www.infosecurity-magazine.com
www.infosecurity-magazine.com
L
Lohrmann on Cybersecurity
F
Fortinet All Blogs
Schneier on Security
Schneier on Security
博客园 - 叶小钗
The Cloudflare Blog
月光博客
月光博客
W
WeLiveSecurity
T
Tenable Blog
P
Proofpoint News Feed
aimingoo的专栏
aimingoo的专栏
Help Net Security
Help Net Security
L
LangChain Blog
C
CERT Recently Published Vulnerability Notes
T
The Exploit Database - CXSecurity.com
美团技术团队
B
Blog

博客园 - 红马天下

【原创】改造rails使支持gb2312编码 【转载】Rails使用gb2312/gbk与utf8共存的解决方案 【原创】MBCS,Unicode,UTF8以及一个用C++读写UTF8文件的工具类 【原创】Asp.Net从Windows Server 2003 32bit迁移到Windows Server 2008 64bit的找不到组件 这辈子一定要做一件有意义的事 【转载】软件缺陷管理基本概念 【转载】软件配置管理中的分支 【转载】我的Lean & Agile(精简和敏捷)经历(这才是最佳实践) 【转载】微软的管理模式真的值得吹嘘么? 【转载】负载均衡技术全攻略 【转载】MySpace的六次重构 【转载】转一篇自己的书评,关于《重构》 【转载】避免软件重建失败的三种方案 【转载】ASP.NET AJAX进度条 【转载】快速、可伸缩和流式的AJAX代理--跨域持续内容分发 给CHtmlEditView添加自定义拖拽功能IDropTargetpdwEffectDROPEFFECT_COPY ole拖放的若干tips 深入分析eXtreme Toolkit Toolbar的Command消息 【转载】让文档模板支持多文件扩展名
在eXtreme Toolkit Pro 11.2.1中使用中文
红马天下 · 2008-04-22 · via 博客园 - 红马天下

    eXtreme Toolkit是很好的界面库,也有中文资源,但在使用中对中文的支持不好,使用前仍然需要我们做一些工作,才能方便的使用中文。

    修改工作包括两个部分,编译动态链接库和修改工程向导。
    编译动态链接库:

  1. 在Source\TaskPanel\res文件夹中,复制Resource.rc为Resource_zh_CN.rc,用记事本打开,修改内容:

    #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
    #ifdef _WIN32
    LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
    #pragma code_page(1252)
    #endif //_WIN32

    替换为:

    #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
    #ifdef _WIN32
    LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
    #pragma code_page(936)
    #endif //_WIN32

  2. 修改Source\XTToolkitPro.rc文件,修改内容:

    #define LANGUAGE_DEFAULT(ProdName) <##ProdName##\res\Resource.rc>

    替换为:

    #define LANGUAGE_DEFAULT(ProdName) <##ProdName##\res\Resource_zh_CN.rc>

    修改工程向导:

  1. 修改文件Utils\AppWizard\vc80\vcWizards\XTPAppWizard\html\1033\AppType.htm,搜索PopulateLanguages(),修改内容:

    //var strInstalledLangs = window.external.GetInstalledLangs();
    var strInstalledLangs = "1033"

    替换为:

    var strInstalledLangs = window.external.GetInstalledLangs();
    //var strInstalledLangs = "1033"

  2. 在Utils\AppWizard\vc80\vcWizards\XTPAppWizard\templates文件夹下,复制1033文件夹为2052文件夹
  3. 比照2052文件夹与<VS2005安装文件夹>\VC\VCWizards\AppWiz\MFC\Application\templates\2052下的资源文件all.rc、dlgall.rc、root.rc2,将字符串修改为中文。建议使用UltraEdit的对比功能。
  4. 修改2052文件夹中的frame.cpp文件夹,替换_T("Menu Bar")为_T("菜单栏"),替换_T("Standard")为_T("标准")。

    在完成以上步骤后,运行Deploy.exe部署即可。

    为了方便大家,我把我的修改成果打包,节省大家的时间。解压后直接复制覆盖即可。eXtreme Toolkit汉化下载