DllManager.h
上传用户:hyb6888
上传日期:2016-01-24
资源大小:5186k
文件大小:2k
- #include "stdio.h"
- class DllManager
- {
- typedef BOOL (*pmyImeProcessKey)(long *fcmywnd,char *SendCH,char *Control,HIMC hIMC,UINT vKey,LPARAM lKeyData,CONST LPBYTE lpbKeyState);
- //////////////////////////////////////////////
- typedef int (*pCloseWin)(long *fcmywnd);
- typedef int (*pSetWinPosition)(long *fcmywnd, HWND hWnd ,long *x ,long *y);
- typedef int (*pSetShowString)(long *fcmywnd,char*MindleStr,char*InputStr);
- typedef long (*pmyCreate)(char* szClassName, char* szTitle, HWND hWndParent,DWORD himc);
- typedef int (*pUpdateWinShow)(long *fcmywnd,DWORD himc);
- typedef int (*pHideWin)(long *fcmywnd);
- typedef int (*pHideAllWin)(long *fcmywnd);
- pmyCreate myCreate;
- pCloseWin CloseWin;
- public:
- HINSTANCE hInstance;
- HINSTANCE hkeyDLL;
- pmyImeProcessKey m_myImeProcessKey;
- BOOL myImeProcessKey(long *fcmywnd,char *SendCH,char *Control,HIMC hIMC,UINT vKey,LPARAM lKeyData,CONST LPBYTE lpbKeyState);
- ////////////////////////////////////////////////
- HINSTANCE hWinyDLL;
- long hmainWin;
- HWND svhWndParent;
- HWND SoftkbdParentWnd;
- pUpdateWinShow UpdateWinShow;
- pSetWinPosition SetWinPosition;
- pSetShowString SetShowString;
- pHideWin HideWin;
- pHideAllWin HideAllWin;
- long CreateWin(char* szClassName, char* szTitle, HWND hWndParent,DWORD himc);
- long mgCreateWin(char* szClassName, char* szTitle,DWORD himc);
- long mgCloseWin();
- long mgUpDateaWin(DWORD himc);
- long mgHideWin();
- long mgHideAllWin();
- int mgSetShowString(char*MindleStr,char*InputStr);
- int mgSetWinPosition( HWND hWnd ,POINT SetPos);
- int mgDllStart();
- mgDllEnd();
- int loaderr;
- DllManager();
- ~DllManager();
- char SendCH[1000];
- char Control[1000];
- };