getwords.h
上传用户:chzmdj
上传日期:2007-01-22
资源大小:135k
文件大小:1k
源码类别:

源码/资料

开发平台:

C/C++

  1. #ifndef __GETWORDS__
  2. #define __GETWORDS__
  3. #define NHD_MAX_TEXTLEN 1024
  4. #define GWMSG_GETWORDOK "BL_HASSTRING"
  5. #define GETWORD_ENABLE 1000
  6. #define GETWORD_DISABLE 1002
  7. #define NHD_WIN_INITPOSX -1
  8. #define NHD_WIN_INITPOSY -1
  9. #define NHD_FLYWIN_WIDTH 1
  10. #define NHD_FLYWIN_HEIGHT 1
  11. #define NHD_CLASSNAME_LEN 64
  12. #define NHD_GETWORD_TIMER 2
  13. #define NHD_GW_WAITING_TIME 200   //get word waiting time;
  14. #define NHD_WM_GETWORD_OK WM_USER + 1011
  15. HWND NHD_InitGetWords(HINSTANCE hInst, HWND hwnd);
  16. BOOL NHD_ExitGetWords(void);
  17. void NHD_BeginGetWord(POINT& g_ptMousePos);
  18. BOOL NHD_CopyWordsTo(char* szBuffer, int nBufferSize);
  19. #endif //__GETWORDS__