CMyWnd.h
上传用户:hyb6888
上传日期:2016-01-24
资源大小:5186k
文件大小:1k
- #include "ResManager.h"
- #include "Wndbase.h"
- #include "inputHwnd.h"
- #include "ConHwnd.h"
- #if !defined(defCMyWnd)
- #define defCMyWnd
- class CMyWnd : public Wndbase
- {
- int saveWM_LButton;
- long x,y;
- RECT WinRect;
- SIZE WinSIZE;
- POINT Cursordif;//光标相对位置
- BOOL fCanMove ;
- int WinHeight,WinWidth ;
- int ControlHeight;
- HDC WindDC;
- long TextH;
- int Txx;
- char showtxt[1000];
- public:
- initalizeWin();
- CMyWnd::~CMyWnd();
- CMyWnd::CMyWnd();
- 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);
- struct PAGE
- {
- 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;
- ResManager myResM;
- inputHwnd *inputWind;
- ConHwnd *ConWind;
- POINT WinStartPos;
- HWND myHwndParent;
-
- int myGetPath(char *filefullname);
- int specsif(char *ss);
- settxt(char *ss);
- int RedrawWin();
- myPaintTxt(int linemove,int act);
- int MyWinMove( POINT pt);
- myMouseMove(int linemove,int act);
- TimeShowText(int line);
- };
- #endif // !defined(defCMyWnd)