myHDC.h
上传用户:hyb6888
上传日期:2016-01-24
资源大小:5186k
文件大小:1k
- #include "resource.h"
- #if !defined(myProcessHDC)
- #define myProcessHDC
- /////////////////////////////////////////////////////////////////////////////
- // manmy view
- class myHDC
- {
- protected:
- HBITMAP outhBMP;
- int IDB_S;
- public:
- long Width, Height;
- long LoadPicWidth, LoadPicHeight;
- HBITMAP bmpBITMAP;
- char Picname[256];
- HDC outhdc;
- HDC hdc;
- HWND hwnd;
- ~myHDC(); // protected constructor used by dynamic creation
- myHDC();
- reSelectBAKHDC();
- StartHDC(HDC pFarHDC,long pFarWidth,long pFarHeight);
- HBITMAP loadPic(char * myFilename);
- HBITMAP loadPic(HINSTANCE hInstDLL,int IDB_Source);
- // Operations
- };
- #endif