![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MFC
不停的走着
通过博客,巩固知识!
展开
-
MFC中Unicode下汉字转换ULR串
CStringA EncodeStr(CStringA strSrc, int sourceCodepage, int targetCodepage) { int len = strSrc.GetLength(); int unicodeLen = MultiByteToWideChar(sourceCodepage, 0, strSrc.GetBuffer(0), -1, NU原创 2016-12-24 11:28:51 · 971 阅读 · 0 评论 -
三种获取网页源码的方法(使用MFC/Socket实现)
三种获取网页源码的方法(使用MFC/Socket实现)转载 2016-12-24 11:37:32 · 749 阅读 · 0 评论 -
对话框实现,窗口置顶功能
if (m_bTopWnd) { // 窗口置顶 SetWindowPos(&wndTopMost, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); } else { // 取消窗口置顶 SetWindowPos(&wndBottom, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOREDRAW); Br...原创 2018-12-20 21:23:18 · 2603 阅读 · 0 评论