INPUTCONTEXT structure
Contains the input context information.
Syntax
typedef struct { HWND hWnd; BOOL fOpen; POINT ptStatusWndPos; POINT ptSoftKbdPos; DWORD fdwConversion; DWORD fdwSentence; union { LOGFONTA A; LOGFONTW W; } lfFont; COMPOSITIONFORM cfCompForm; CANDIDATEFORM cfCandForm[4]; HIMCC hCompStr; HIMCC hCandInfo; HIMCC hGuideLine; HIMCC hPrivate; DWORD dwNumMsgBuf; HIMCC hMsgBuf; DWORD fdwInit; DWORD dwReserve[3]; } INPUTCONTEXT;
Members
- hWnd
-
Handle to the window that uses the input context.
- fOpen
-
BOOL value that indicates the status of the Active IME. If TRUE, the Active IME is opened. Otherwise the Active IME is closed.
- ptStatusWndPos
-
POINT structure that contains the position of the status window.
- ptSoftKbdPos
-
POINT structure that contains the position of the soft keyboard.
- fdwConversion
-
Unsigned long integer value that contains the conversion mode used by the Active IME composition engine.
- fdwSentence
-
Unsigned long integer value that contains the sentence mode used by the Active IME composition engine.
- lfFont
-
LOGFONT structure used by the Active IME composition engine.
- cfCompForm
-
COMPOSITIONFORM structure used by the Active IME user interface to create the composition window.
- cfCandForm
-
CANDIDATEFORM structures used by the Active IME user interface to create the candidate windows. This input method context supports four candidate forms.
- hCompStr
-
Handle that points to the COMPOSITIONSTRING structure.
- hCandInfo
-
Handle to a buffer that contains the CANDIDATEINFO and CANDIDATELIST structures.
- hGuideLine
-
Handle to a buffer that contains the GUIDELINE structure.
- hPrivate
-
Handle to a buffer used by the Active IME for its private data area.
- dwNumMsgBuf
-
Unsigned long integer value that contains the number of messages stored in hMsgBuf.
- hMsgBuf
-
Handle to the buffer that stores the messages.
- fdwInit
-
Unsigned long integer value that contains the initialize flag.
- dwReserve
- Reserved. Must be zero.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
IDL |
|