SetWindowText与SetWindowTextW

时间:2014-08-16 22:29:51   收藏:0   阅读:256

SetWindowTextW用于宽字符
SetWindowText  根据定义的宏使用宽字符或者ansi

 

注意:

_T 是自动进行 unicode/ansi版本匹配。 如 _T("aa") 在unicode环境下就是 wchar_t* "aa"; ansi环境下就是 char* "aa";

TCHAR 是一种字符类型,适用于MBCS 和 Unicode二种编码。程序中也不必到处使用宏定义。

救火角色

 

SetWindowText与SetWindowTextW,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!