Microsoft HomeproductssearchsupportshopWrite Us   Microsoft Home
Magazine
 |  Community
 |  Workshop
 |  Tools & Samples
 |  Training
 |  Site Info

Workshop

INPUTCONTEXT Structure


This document describes technologies available in the Internet Explorer 5 Beta. While we encourage you to evaluate these features and to send us your feedback, please note that these features are subject to change.

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 and later. 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

Does this content meet your programming needs? Write us!

Back to topBack to top

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

 

Magazine Home
Ask Jane
DHTML Dude
Extreme XML
For Starters
More or Hess
Servin' It Up
Site Lights
Web Men Talking
Member Community Home
Benefits: Freebies & Discounts
Benefits: Promote Your Site
Benefits: Connect with Your Peers
Benefits at a Glance
Online Special-Interest Groups
Your Membership
SBN Stores
Join Now
Workshop Home
Essentials
Content & Component Delivery
Component Development
Data Access & Databases
Design
DHTML, HTML & CSS
Extensible Markup Language (XML)
Languages & Development Tools
Messaging & Collaboration
Networking, Protocols & Data Formats
Reusing Browser Technology
Security & Cryptography
Server Technologies
Streaming & Interactive Media
Web Content Management
Workshop Index
Tools & Samples Home
Tools
Samples, Headers, Libs
Images
Sounds
Style Sheets
Web Fonts
Training Home
SBN Live Seminars
SBN Live Chats
Courses
Peer Support
CD-ROM Training
Books & Training Kits
Certification
SBN Home
New to SBN?
What's New on SBN
Site Map
Site Search
Glossary
Write Us
About This Site