This method is implemented to receive the current state of the IME.
At a Glance
Header file: | Sip.h |
Windows CE Versions: | 2.12 and later |
Syntax
HRESULT SetIMMActiveContext (HWND hwnd, BOOL bOpen,
DWORD dwConversion, DWORD dwSentence, DWORD hkl);
Parameters
hwnd
Handle of window control that has changed context.
bOpen
Specifies whether the IME is on. TRUE indicates the IME is on; otherwise, this parameter is FALSE.
dwConversion
The current IME conversion mode status.
dwSentence
The current IME sentence mode status.
hkl
A handle to the current active keyboard layout.
Return Values
An appropriate HRESULT value is returned.
Remarks
The SetIMMActiveContext interface to the input panel is exposed only through this method. The input panel calls this method when ImmSetActiveContext is called on a window control.
See Also