10 2016 档案
摘要:一、静态控件透明化 前面我们介绍过,通过WM_CTLCOLORDLG消息来设置对话框背景,还有消息来设置其他控件得背景: WM_CTLCOLORBTN - 按钮 WM_CTLCOLOREDIT - 编辑框 WM_CTLCOLORLISTBOX - 列表框 WM_CTLCOLORSCROLLBAR -
阅读全文
摘要:1、将单字节Char转化为双字节的wchar_t的转换函数 wchar_t* c2w(const char *str){ int length = strlen(str)+1; wchar_t *t = (wchar_t*)malloc(sizeof(wchar_t)*length); memset
阅读全文