123456789101112131415161718192021222324252627 |
- // CGoodDC.h: interface for the CGoodDC class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_CGOODDC_H__48F4C3B7_E91A_4EC5_A736_DAD8B0C70658__INCLUDED_)
- #define AFX_CGOODDC_H__48F4C3B7_E91A_4EC5_A736_DAD8B0C70658__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- BOOL DisplayBMP(CDC* pDC,int nX1,int nY1,int nXX,int nYY,CString strBMPFile,BOOL bStretch);
- void DrawColorButton(LPDRAWITEMSTRUCT lpDIS,COLORREF clrButton);
- class CGoodDC : public CDC
- {
- private:
- CDC* m_pOldDC;
- CRect m_rect;
- CBitmap m_bitmap,*m_pOldBitmap;
- public:
- void Create(CDC* pDC);
- void Destroy(void);
- void Destroy(CRect rect);
- };
- #endif // !defined(AFX_CGOODDC_H__48F4C3B7_E91A_4EC5_A736_DAD8B0C70658__INCLUDED_)
|