CMyWnd.h
上传用户:hyb6888
上传日期:2016-01-24
资源大小:5186k
文件大小:2k
- #if !defined(defCMyWnd)
- #define defCMyWnd
- #include "ResManager.h"
- #include "Wndbase.h"
- #include "inputHwnd.h"
- #include "ConHwnd.h"
- #include "QQHwnd.h"
- #include "DllManager.h"
- #include "AppDict.h"
- class CMyWnd : public Wndbase
- {
- int WinHeight,WinWidth ;
- int *conh;
- int saveWM_LButton;
- long x,y;
- int resavehight;
- HFONT hUIFont;
- RECT WinRect;
- SIZE WinSIZE;
- POINT Cursordif;//光标相对位置
- BOOL fCanMove ;
- HBITMAP Texthdcbmp;
- HDC Texthdc;
- HDC WindDC;
- HRGN WinRGN1,WinRGN2,TextRGN;
- long TextH;
- int Txx;
- char showtxt[1000];
- public:
- DWORD savehimc;
- bool stopflash;
- ResManager myResM;
- initalizeWin();
- SetAllWinAttrib(unsigned char Lclarity);
- ~CMyWnd();
- CMyWnd(DWORD himc);
- 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);
- class PAGE
- {
- public:
- char Chistr[5][1000];
- char Proprity[5];
- char Enstr[5][100];
- }page;
- char TemTxt[6000],*PPch, *Arrppc[100];
- char TimeTxt[6000],*TimePPch,*StartPPch;
- int saveCurLine;
- QQHwnd *myQQWind;
- inputHwnd *inputWind;
- ConHwnd *ConWind;
- POINT WinStartPos;
- HWND myHwndParent;
- int selectback();
- int getRgnFlage(long x,long y);
- int specsif(char *ss);
- settxt(char *ss);
- int RedrawWin();
- int ClearWin();
- myPaintTxt(int linemove,int act);
- myMouseMove(int linemove,int act);
- TimeShowText(int line);
- void DrawFrame();
- AppDict mydd;
- //DllManager ChLib;
- BOOL myImeProcessKey(char *SendCH,char*Control,HIMC hIMC,UINT vKey,LPARAM lKeyData,CONST LPBYTE lpbKeyState);
- BOOL inmyImeProcessKey(char *SendCH,char*Control,HIMC hIMC,UINT vKey,LPARAM lKeyData,CONST LPBYTE lpbKeyState);
- int SetShowString(char*MindleStr,char*InputStr);
- int MyWinMove( POINT pt);
- int MyMoveWinInput(HWND hWnd ,long x,long y);
- };
- #endif // !defined(defCMyWnd)