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 WindDC;
- HWND myHwndParent;
- long TextH;
- RECT WinRect;
- POINT Cursordif;//光标相对位置
- SIZE WinSIZE;
- BOOL fCanMove ;
- public:
- HBITMAP Texthdcbmp,BackhBmp;
- HDC Texthdc,BackDC;
- int WinHeight,WinWidth,ControlHeight ;
- initalizeWin();
- winend();
- ~inputHwnd();
- inputHwnd(void*CMthis);
- 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];
- char Saveshowtxt[1000];
- POINT WinStartPos;
- ResManager *myResM;
- myHDC txtpic;
- int RedrawWin();
- myPaintTxt(int flag,int act);
- OutTextPic(char *ss,long x,long y,HDC hDC1,HDC hDC2, long dw , long dh,double a, double zoom,HDC backhdc);
- long Popup();
- };
- #endif // !defined(definputHwnd)