XMemDC.h
上传用户:cuijiu615
上传日期:2007-03-28
资源大小:45k
文件大小:1k
- // XMemDC.h: interface for the XMemDC class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_XMEMDC_H__6A393780_4BA9_4F93_89B7_D07F55E90D3F__INCLUDED_)
- #define AFX_XMEMDC_H__6A393780_4BA9_4F93_89B7_D07F55E90D3F__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class XMemDC : public CDC
- {
- public:
- CRect m_rcBounds;
- CDC* m_pDC;
- XMemDC(CDC* pDC,const CRect& rect);
- virtual ~XMemDC();
- XMemDC* operator ->()
- {
- return this;
- }
- private:
- CBitmap* m_bitmap;
- CBitmap* m_oldBitmap;
- };
- #endif // !defined(AFX_XMEMDC_H__6A393780_4BA9_4F93_89B7_D07F55E90D3F__INCLUDED_)