Fork me on GitHub
摘要: 两个函数的区别: AfxMessageBox是MFC库提供的全局函数,提供了多种重载形式,而MessageBox是标准的windows Api函数. AfxMessageBox()函数在任何类里边都可以使用,而MessageBox()函数只能在CWnd类的继承类中使用。另外,AfxMessageBo 阅读全文
posted @ 2016-04-28 20:23 ranjiewen 阅读(815) 评论(0) 推荐(0)
摘要: 一.CString, int, string, char*之间的转换 string 转 CString CString.Format("%s", string.c_str());char 转 CString CString.Format("%s", char*);char 转 string stri 阅读全文
posted @ 2016-04-28 20:17 ranjiewen 阅读(2622) 评论(0) 推荐(1)