Jump to content

WinDBCSIMEControl

From EDM2
Revision as of 16:07, 8 October 2023 by Martini (talk | contribs) (Created page with "This is also a DBCS OS/2 unique call and used to query or set the status (enabled, disabled, on or off) of the DBCS input method. ==Syntax== WinDBCSIMEControl (hab,hwndFram...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is also a DBCS OS/2 unique call and used to query or set the status (enabled, disabled, on or off) of the DBCS input method.

Syntax

WinDBCSIMEControl (hab,hwndFrame,type,pIMEMode)

Parameters

hab (HAB)
Anchor-block handle.
hwndFrame (HWND)
Frame-window handle.
type (USHORT)
Request type. comact tsize=32 compact. DBE_IMCTL_QUERY
   DBE_IMCTL_SET
pIMEMode (PIMEMODE)
Pointer to IMEMode structure.


       typedef struct _IMEMODE {USHORT lenIMEMode;
               USHORT    fIMEMode;
               USHORT    hIME;
               USHORT    hModIME;
               }  IMEMODE, FAR *PIMEMODE;
       comact tsize=14 compact.
       lenIMEMode
           Length of this structure. fIMEMode
           comact tsize=4 break=all compact.
           DBE_IMCTL_IMEENABLE
           DBE_IMCTL_IMEDISABLE
           DBE_IMCTL_IMEMODE
               (Japanese, Korean; ineffective for T-Chinese) DBE_IMCTL_NOTIMEMODE
               (Japanese, Korean; ineffective for T-Chinese) DBE_IMCTL_INHERIT_PFRAME
           hIME (**)
               Handle of the Input Method Editor (IME) that is associated with the frame window. (Ignored in a set request.) hModIMEM (**)
               Module handle of the IME that is associated with the frame window. (Ignored in a set request.) Return Code
               (BOOL) comact tsize=32 compact break=fit. TRUE
               FALSE
               �
                   WM_CHAR - PM
                   DBCS OS/2 additionally defines the following virtual key values. comact tsize=32 compact.
                   VK_DBE_ALPHANUMERIC
                   VK_DBE_SBCSCHAR
                   VK_DBE_DBCSCHAR
                   VK_DBE_SBCSDBCSCHAR
                   VK_DBE_KATAKANA
                       (Japanese) VK_DBE_HIRAGANA
                       (Japanese) VK_DBE_ROMAN
                       (Japanese) VK_DBE_HANJA
                       (Korean) VK_DBE_HANGEUL
                       (Korean) VK_DBE_JAMO
                       (Korean) VK_DBE_TSANGJYE
                       (T-Chinese) VK_DBE_PHONETIC
                       (T-Chinese)