WinDBCSIMEControl: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
Line 30: | Line 30: | ||
::TRUE | ::TRUE | ||
::FALSE | ::FALSE | ||
WM_CHAR - PM | WM_CHAR - PM | ||
DBCS OS/2 additionally defines the following virtual key values. | |||
VK_DBE_ALPHANUMERIC | VK_DBE_ALPHANUMERIC | ||
VK_DBE_SBCSCHAR | VK_DBE_SBCSCHAR | ||
Line 47: | Line 46: | ||
VK_DBE_TSANGJYE (T-Chinese) | VK_DBE_TSANGJYE (T-Chinese) | ||
VK_DBE_PHONETIC (T-Chinese) | VK_DBE_PHONETIC (T-Chinese) | ||
[[Category:WinDBCS]] |
Latest revision as of 00:49, 6 February 2024
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.
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)