123456789101112131415161718192021222324252627 |
- // CGoodDC.h: interface for the CGoodDC class.
- //
- //////////////////////////////////////////////////////////////////////
- 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);
- };
|