QQHwnd.h
上传用户:hyb6888
上传日期:2016-01-24
资源大小:5186k
文件大小:1k
- #include "ResManager.h"
- #include "Wndbase.h"
- #if !defined(defQQHwnd)
- #define defQQHwnd
- class QQHwnd: public Wndbase
- {
- HFONT hUIFont;
- HRGN WinRGN1,WinRGN2;
- HDC Texthdc,BackDC;
- HBITMAP Texthdcbmp,BackhBmp;
- HDC WindDC;
- HWND myHwndParent;
- long TextH;
- RECT WinRect;
- POINT Cursordif;//光标相对位置
- SIZE WinSIZE;
- BOOL fCanMove ;
- public:
- initalizeWin();
- winend();
- ~QQHwnd();
- QQHwnd(void*CMthis);
- BOOL Create(LPCTSTR szClassName, LPCTSTR szTitle, HINSTANCE hInstance, HWND hWndParent = 0, DWORD dwStyle = WS_OVERLAPPEDWINDOW,DWORD dwExStyle = 0, HMENU hMenu = 0);
- int settxt(HWND phwnd,long x,long y,char *ss,int flage);
- int settxt(char *ss);
- LRESULT WINAPI WindowProc(UINT,WPARAM,LPARAM);
- char showtxt[1000];
- int disabledailtimer();
- int settxttimer(HWND phwnd,long x,long y,char *ss);
- int dailtimershow;
- POINT WinStartPos;
- //ResManager myResM;
- int WinHeight,WinWidth ;
- int RedrawWin();
- myPaintTxt(int flag,int act);
- };
- #endif // !defined(defQQHwnd)