ResManager.h
上传用户:hyb6888
上传日期:2016-01-24
资源大小:5186k
文件大小:1k
- #include "stdafx.h"
- #include "resource.h"
- #define actSetstr 50
- #define actTIMEOUT 100
- #if !defined(defResManager)
- #define defResManager
- class ResManager
- {
- public:
- int ControlHeight;
- int WinHeight,WinWidth ;
- HFONT hUIFont;
- HDC LinebarDC;
- HBITMAP LinebarhBmp;
- HDC LinebarDC1;
- HBITMAP LinebarhBmp1;
- HDC BackDC;
- HBITMAP BackhBmp;
- char CurBackPic[500];
- HDC Texthdc;
- HBITMAP Texthdcbmp;
- HDC Flashhdc;
- HBITMAP Flashhdcbmp;
- ResManager();
- ~ResManager();
- InitResManager(HDC WindDC,HINSTANCE hInst);
- HRGN WinRGN1;
- HRGN WinRGN2;
- HRGN TextRGN;
- DWORD ReadReg(char *valname);
- int WriteReg(char *valname,DWORD keyVal);
- int RegSaveString(char *strPath, char *valname);
- int RegReadString(char *strPath, char *valname);
- int FixBackPic();
- POINT ReadRegPos(char *PathName);
- int WriteRegPos(char *PathName,POINT SavePos);
- int myGetPath(char *filefullname);
- };
- #endif // !defined(defResManager)