DoubleLi

qq: 517712484 wx: ldbgliet

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2014年2月24日

摘要: Xtrme toolkit,BCGControlBar,SkinMagic,AppFace,Skin++,Uskin++,SYGUI,LibUIDK,GuiToolkit,GardenUI等等,除了后两种一个是开源,一个是免费的外,其余的都是收费的。The Ultimate Toolboxhttp://www.codeproject.com/KB/MFC/UltimateToolbox.aspxGuiToolkit(开源,mfc扩展框架,类似Visual Studio 2003风格)http://www.beyondata.com/default.htmGardenUI(免费,界面效果挺好的, 阅读全文
posted @ 2014-02-24 14:33 DoubleLi 阅读(30112) 评论(0) 推荐(2)

摘要: STL有字符串处理类——stirng和wstring,但是用的时候会觉得不是很方便,因为它不能像TCHAR一样根据定义的宏在char类型字符串和wchar_t进行转换,总不能因为程序要Unicode就把所有类型转换一遍吧?有没有好办法?答案当然是肯定的,先看看MS的TCHAR是怎么做的,以下摘自MS Platform 的tchar.h,略有删减#ifdef _UNICODE#ifdef __cplusplus} /* ... extern "C" */#endif/* ++++++++++++++++++++ UNICODE ++++++++++++++++++++ */# 阅读全文
posted @ 2014-02-24 12:53 DoubleLi 阅读(559) 评论(0) 推荐(0)

摘要: 本篇文章是对c++中的char*与wchar_t*与string以及wstring之间的相互转换进行了详细的分析介绍,需要的朋友参考下-复制代码 代码如下: #ifndef USE_H_ #define USE_H_ #include #include #include using namespace std; class CUser { public: CUser(); virtual~ CUser(); char* WcharToChar(const wchar_t* wp); char* StringToChar(const string& s); cha... 阅读全文
posted @ 2014-02-24 11:39 DoubleLi 阅读(487) 评论(0) 推荐(0)