Implement RegisterCallbackEx to receive a pointer to an IIMCallbackEx interface. An input method (IM) uses the IIMCallbackEx interface to send keystrokes to an application and to change the icon on the Input Panel button.
Header file: | Sip.h |
Platforms: | Palm-size PC version 1.2 |
Windows CE Version: | 2.10 |
HRESULT RegisterCallbackEx (IIMCallback* pIMCallback);
an appropriate HRESULT value is returned.
The IIMCallbackEx interface to the input panel is exposed only through this method. The input panel calls this method during the initialization of the IM, along with Select, GetInfo, and ReceiveSipInfo.
IIMCallback, IInputMethod::GetInfo, IInputMethod::ReceiveSipInfo, IInputMethod::Select
Implement SetIMMActiveContext to receive the current state of the IME
Header file: | Sip.h |
Platforms: | Palm-size PC version 1.2 |
Windows CE Versions: | 2.10 |
HRESULT SetIMMActiveContext (HWND hwnd, BOOL bOpen, DWORD dwConversion, DWORD dwSentence, DWORD hkl);
An appropriate HRESULT value is returned.
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.