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