DATA.C

/**********************************************************************/ 
/* */
/* DATA.C */
/* */
/* Copyright (c) 1995-1997 Microsoft Corporation */
/* */
/**********************************************************************/

#include "windows.h"
#include "imm.h"
#include "wapi.h"

HANDLE hInst;
HWND hWndMain;
HWND hWndCompStr;
HWND hWndToolBar;
HWND hWndStatus;
HWND hWndCandList;

LOGFONT lf;
HFONT hFont = 0;

int nStatusHeight = 0;
int nToolBarHeight = 0;
BOOL fShowCand = FALSE;
DWORD fdwProperty = 0;

DWORD dwCompStrLen = 0;
DWORD dwCompAttrLen = 0;
DWORD dwCompClsLen = 0;
DWORD dwCompReadStrLen = 0;
DWORD dwCompReadAttrLen = 0;
DWORD dwCompReadClsLen = 0;
DWORD dwResultStrLen = 0;
DWORD dwResultClsLen = 0;
DWORD dwResultReadStrLen = 0;
DWORD dwResultReadClsLen = 0;

MYCHAR szCompStr[512];
BYTE bCompAttr[512];
DWORD dwCompCls[128];
MYCHAR szCompReadStr[512];
BYTE bCompReadAttr[512];
DWORD dwCompReadCls[128];
MYCHAR szResultStr[512];
DWORD dwResultCls[128];
MYCHAR szResultReadStr[512];
DWORD dwResultReadCls[128];
MYCHAR szPaintResult[512];
MYCHAR szPaintResultRead[512];

LPCANDIDATELIST lpCandList = NULL;

POINT ptImeUIPos;