摘要:
#include "iostream.h" class CHandle { public: CHandle(){} virtual ~CHandle(){} public: virtual void SetHandle(CHandle *handle){}; virtual void ProcessHandle(int a){} ; public: CHandle *m_hand; }... 阅读全文
posted @ 2008-09-03 15:09
lizhengjin
阅读(180)
评论(0)
推荐(0)
摘要:
首先生成CBitamp和内存cd,然后拷备到屏幕上 CRect rect; GetClientRect(&rect); CBitmap bitmap; bitmap.CreateCompatibleBitmap(pDC, rect.Width(), rect.Height());//生成空间的内存位图 CDC me; me.CreateCompatibleDC(pDC)... 阅读全文
posted @ 2008-09-03 12:01
lizhengjin
阅读(840)
评论(0)
推荐(0)
摘要:
vc串行化读写 串行化读写需要 用CArchive做中介,首先生成一个CFile类,然后在CFile类的基础上生成CArchive,然后直接用>>或者>x1>>x2>>y1>>y2;//直接读变量 arr.Close(); delete file; 阅读全文
posted @ 2008-09-03 11:57
lizhengjin
阅读(467)
评论(0)
推荐(0)
浙公网安备 33010602011771号