DATA.C
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:

Windows编程

开发平台:

Visual C++

  1. /**********************************************************************/
  2. /*                                                                    */
  3. /*      DATA.C                                                        */
  4. /*                                                                    */
  5. /*      Copyright (c) 1995-1997  Microsoft Corporation                */
  6. /*                                                                    */
  7. /**********************************************************************/
  8. #include "windows.h"
  9. #include "imm.h"
  10. #include "wapi.h"
  11. HANDLE hInst;
  12. HWND hWndMain;
  13. HWND hWndCompStr;
  14. HWND hWndToolBar;
  15. HWND hWndStatus;
  16. HWND hWndCandList;
  17. LOGFONT lf;
  18. HFONT hFont = 0;
  19. int nStatusHeight = 0;
  20. int nToolBarHeight = 0;
  21. BOOL fShowCand = FALSE;
  22. DWORD fdwProperty = 0;
  23. DWORD  dwCompStrLen      = 0;
  24. DWORD  dwCompAttrLen     = 0;
  25. DWORD  dwCompClsLen      = 0;
  26. DWORD  dwCompReadStrLen  = 0;
  27. DWORD  dwCompReadAttrLen = 0;
  28. DWORD  dwCompReadClsLen  = 0;
  29. DWORD  dwResultStrLen      = 0;
  30. DWORD  dwResultClsLen      = 0;
  31. DWORD  dwResultReadStrLen  = 0;
  32. DWORD  dwResultReadClsLen  = 0;
  33. MYCHAR szCompStr[512];
  34. BYTE   bCompAttr[512];
  35. DWORD  dwCompCls[128];
  36. MYCHAR szCompReadStr[512];
  37. BYTE   bCompReadAttr[512];
  38. DWORD  dwCompReadCls[128];
  39. MYCHAR szResultStr[512];
  40. DWORD  dwResultCls[128];
  41. MYCHAR szResultReadStr[512];
  42. DWORD  dwResultReadCls[128];
  43. MYCHAR szPaintResult[512];
  44. MYCHAR szPaintResultRead[512];
  45. LPCANDIDATELIST lpCandList = NULL;
  46. POINT ptImeUIPos;