
mfc
文章平均质量分 66
lzylzy1991
这个作者很懒,什么都没留下…
展开
-
OnDraw和OnPaint
OnDraw和OnPaint分类: MFC 2010-09-25 17:12 55人阅读 评论(0)收藏 举报mfc框架在MFC程序设计中,按照传统的设计,如果处理WM_PAINT消息,一般会派生一个OnPaint函数,映射到WM_PAINT消息上进行绘图处理。但是很多程序中并没有出现OnPaint,一个OnDraw函数做了更多的绘图操作。而在消息映射的列表转载 2014-02-15 10:31:20 · 608 阅读 · 0 评论 -
error C1189:#error:This file requires _WIN32_WINNT to be #defined at least to 0x0403
error C1189:#error:This file requires _WIN32_WINNT to be #defined at least to 0x0403是由于原工程与现在你的系统不兼容导致的,一般是原工程的版本较低,现在的版本较高,不能兼容。纠正方法是:首先 找到stdafx.h头文件(一般头文件定义都在这里,首选就是找这里),前3段是关于系统的(干涉,此处就是系统转载 2015-05-21 16:17:00 · 354 阅读 · 0 评论 -
cookies
// Testcookies0325.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "Testcookies0325.h"#include #include #include #include #pragma comment(li转载 2015-03-31 09:17:59 · 338 阅读 · 0 评论 -
扫瞄c盘所有文件 并且正则匹配浏览器缓存文件路径
// TestRrgex0401.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "TestRrgex0401.h"#include#include#ifdef _DEBUG#define new DEBUG_NEW#endif原创 2015-04-01 15:59:29 · 473 阅读 · 0 评论 -
cstring TO string
CString cs = strFilePath; char szStrtemp[MAX_PATH] ; memset(szStrtemp,0,sizeof(szStrtemp)); if (wcstombs(szStrtemp, cs, cs.GetLength()) != -1)转载 2015-04-01 16:34:08 · 380 阅读 · 0 评论 -
将Cstring 转换成 const char *
CString m_str = m_strFilePath + _T("\\cache.txt" ); char szStr[80] = {0}; if (wcstombs(szStr, m_str, m_str.GetLength()) == -1) return FALSE;原创 2015-03-31 09:09:36 · 399 阅读 · 0 评论 -
浏览器cookies 和其路径获取
// Testcookies0325.cpp : Defines the entry point for the console application.#include "stdafx.h"#include "Testcookies0325.h"#include #include #include #include #pragma comment(lib, "原创 2015-03-30 17:51:02 · 812 阅读 · 0 评论 -
获取浏览器的 cache 和其路径
// TestCache.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "TestCache.h"#include#include#ifdef _DEBUG#define new DEBUG_NEW#endif#pragma原创 2015-03-30 17:49:45 · 590 阅读 · 0 评论 -
testcache.cpp
#include "stdafx.h"#include "TestCache.h"#include#include#ifdef _DEBUG#define new DEBUG_NEW#endif#pragma comment(lib, "Wininet.lib")#include#includeusing namespace std;// The原创 2015-03-29 23:02:37 · 409 阅读 · 0 评论 -
ios 博客
http://blog.youkuaiyun.com/mad2man/article/details/19125231原创 2016-03-16 14:15:53 · 378 阅读 · 0 评论