]> Pileus Git - ~andy/gtk/blob - modules/input/imm-extra.h
modules/engines/Makefile.am Decide whether to build the ms-windows theme
[~andy/gtk] / modules / input / imm-extra.h
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
3 /* $Id$ */
4
5
6 #include <windows.h>
7 #include <imm.h>
8
9
10 /* these aren't defined in Cygwin's imm.h */
11
12 #ifndef WM_IME_REQUEST
13 #   define WM_IME_REQUEST                  0x0288
14 #endif  /* WM_IME_REQUEST */
15
16 #ifndef IMR_COMPOSITIONWINDOW
17 #   define IMR_COMPOSITIONWINDOW           0x0001
18 #endif /* IMR_COMPOSITIONWINDOW */
19
20 #ifndef IMR_CANDIDATEWINDOW
21 #   define IMR_CANDIDATEWINDOW             0x0002
22 #endif /* IMR_CANDIDATEWINDOW */
23
24 #ifndef IMR_COMPOSITIONFONT
25 #   define IMR_COMPOSITIONFONT             0x0003
26 #endif /* IMR_COMPOSITIONFONT */
27
28 #ifndef IMR_RECONVERTSTRING
29 #   define IMR_RECONVERTSTRING             0x0004
30 #endif /* IMR_RECONVERTSTRING */
31
32 #ifndef IMR_CONFIRMRECONVERTSTRING
33 #   define IMR_CONFIRMRECONVERTSTRING      0x0005
34 #endif /* IMR_CONFIRMRECONVERTSTRING */
35
36 #ifndef IMR_QUERYCHARPOSITION
37 #   define IMR_QUERYCHARPOSITION           0x0006
38 typedef struct tagIMECHARPOSITION {
39   DWORD  dwSize;
40   DWORD  dwCharPos;
41   POINT  pt;
42   UINT   cLineHeight;
43   RECT   rcDocument;
44 } IMECHARPOSITION, *PIMECHARPOSITION;
45 #endif /* IMR_QUERYCHARPOSITION */
46
47 #ifndef IMR_DOCUMENTFEED
48 #   define IMR_DOCUMENTFEED                0x0007
49 #endif /* IMR_DOCUMENTFEED */