|
[原创]奋斗
二十四,风华正茂,为梦想而奋斗,无论成功失败,这都是我们宝贵的财富,加油~~~ |
|
赶紧收藏吧!如此逼真、如此巧妙!!
真不错~~~ |
|
[原创]DirectUI技术开发界面
呵呵,分析的不错;现在有了一个DuiLib 群:41830909,如果有兴趣,可以加一下,大家共同交流学习。 |
|
[原创]DirectUI技术开发界面
我学习的时候是有一个Demo的,呵呵;至于学习方法,运行调试。 |
|
[原创]DirectUI技术开发界面
规则和要求要多看看源代码了,我有什么问题就直接看的源码,貌似没有详细的文档说明,http://code.google.com/p/duilib/downloads/list有一个简单的说明文档,你可以参考下;至于CEditUI我没用到,还没研究,有时间试试。 |
|
|
|
[原创]DirectUI技术开发界面
恩,0xEF,0xBB,0xBF是utf-8的文件标识,但是 DWORD nWide = MultiByteToWideChar( CP_UTF8, 0, (LPCSTR)pByte, dwSize, NULL, 0 ); LPWSTR w_str = static_cast<LPWSTR>(malloc((nWide + 1)*sizeof(WCHAR))); MultiByteToWideChar( CP_UTF8, 0, (LPCSTR)pByte, dwSize, w_str, nWide ); w_str[nWide] = L'\0';转换的时候,肯定不应该将文件标识也放进去不是;所以,一种就是你的做法,跳过文件标识;我的做法是跟以前的那个GameDemo一样的,就是将文件保存成了ansi格式,这样就没有标识,可以直接转换(主要是因为utf-8和ansi对于英文的编码是一样的)。不过我还是觉得你的做法是对的,我的有点投机了。。。 |
|
[原创]DirectUI技术开发界面
将工程设置为Use Multi-Byte Character Set即可,因为UIlib是Multi-Byte,而非Unicode的。 |
|
[原创]DirectUI技术开发界面
恩,用SPY++看360,还是有很多窗体的,大部分是自绘控件,看来是我惯性思维呀,以为QQ是,360应该也差不多吧。谢谢你的指正~~~ |
|
[原创]DirectUI技术开发界面
这玩意儿不用逆,DirectUI就是直接在父窗口上绘图,你用SPY看不到控件的窗口,程序又不是用WPF编的,我觉得应该就是用的DirectUI技术了(应该没错吧,呵呵)。 |
|
[原创]DirectUI技术开发界面
呵呵,我是照着360界面,一点一点抠的图弄得,费了不少劲儿。 |
|
[原创]DirectUI技术开发界面
XML来描述界面布局和元素很方便,很好用。 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值