WinDBCSIMEControl: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
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. | 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== | ==Syntax== | ||
WinDBCSIMEControl (hab,hwndFrame,type,pIMEMode) | WinDBCSIMEControl (hab, hwndFrame, type, pIMEMode) | ||
==Parameters== | ==Parameters== | ||
;hab (HAB) | ;hab (HAB):Anchor-block handle. | ||
:Anchor-block handle. | ;hwndFrame (HWND):Frame-window handle. | ||
;type (USHORT):Request type. | |||
;hwndFrame (HWND) | ::DBE_IMCTL_QUERY | ||
:Frame-window handle. | ::DBE_IMCTL_SET | ||
;pIMEMode (PIMEMODE):Pointer to IMEMode structure. | |||
; type (USHORT) | |||
:Request type. | |||
;pIMEMode (PIMEMODE) | |||
:Pointer to IMEMode structure. | |||
typedef struct _IMEMODE {USHORT lenIMEMode; | typedef struct _IMEMODE {USHORT lenIMEMode; | ||
USHORT fIMEMode; | USHORT fIMEMode; | ||
Line 23: | Line 16: | ||
USHORT hModIME; | USHORT hModIME; | ||
} IMEMODE, FAR *PIMEMODE; | } IMEMODE, FAR *PIMEMODE; | ||
:;lenIMEMode:Length of this structure. | |||
:;fIMEMode: | |||
:::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.) | |||
==Returns== | |||
;Return Code:(BOOL) | |||
::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) | |||
Revision as of 14:21, 9 October 2023
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.
- 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;
- lenIMEMode
- Length of this structure.
- fIMEMode
-
- 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.)
Returns
- Return Code
- (BOOL)
- 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)