ConHwnd.h
上传用户:hyb6888
上传日期:2016-01-24
资源大小:5186k
文件大小:1k
- #include "ResManager.h"
- #include "Wndbase.h"
- #include "tool\CIMESoftKbd.h"
- #if !defined(defConHwnd)
- #define defConHwnd
- class ConHwnd: public Wndbase
- {
- char ModleName[4][20];
- HFONT hUIFont;
- HRGN WinRGN1,WinRGN2;
- HDC WindDC;
- HWND myHwndParent;
- long TextH;
- RECT WinRect;
- POINT Cursordif;//光标相对位置
- SIZE WinSIZE;
- BOOL fCanMove ;
- public:
- HBITMAP Texthdcbmp,BackhBmp,reBackhBmp;
- HDC Texthdc,BackDC,reBackDC;
- initalizeWin();
- winend();
- int controlflag;
- ResManager *myResM;
- int WinHeight,WinWidth ;
- int *conh;
- ~ConHwnd();
- ConHwnd(void*CMthis,DWORD himc);
- DWORD savhimc;
- HWND CreateSoftKbd(HWND hUIWnd);
- 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);
- POINT WinStartPos;
- //ResManager myResM;
- CIMESoftKbd *keyboard;
- int RedrawWin();
- int getRgnFlage(long x,long y);
- myPaintTxt(int select);
- int TranStr(int selet);
- long ModlePopup(int CurModleNum);
- };
- #endif // !defined(defConHwnd)