IMEMENUITEMINFOW Structur...     LOGFONTA Structure     Active Input Method Manag...    
Web Workshop (Miscellaneous)

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
Boolean value that indicates the status of the IME. If TRUE, the IME is opened. Otherwise the 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 IME composition engine.
fdwSentence
Unsigned long integer value that contains the sentence mode used by the IME composition engine.
lfFont
LOGFONT (LOGFONTA for ANSI, LOGFONTW for Unicode) structure used by the IME composition engine.
cfCompForm
COMPOSITIONFORM structure used by the IME user interface to create the composition window.
cfCandForm
CANDIDATEFORM structures used by the IME user interface to create the candidate windows. This input method context supports four candidate forms.
hCompStr
Handle that points to the COMPOSITIONSTR 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 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 set to zero.

Structure Information

Windows NT Use version 4.0. Implemented as ANSI and Unicode structures.
Windows Use Windows 95 and later. Implemented as ANSI and Unicode structures.
Header Dimm.h
Minimum availability Internet Explorer 5


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.