A process that registers for IM notifications receives this window message when the size or position of an input method (IM) changes. This message is also received when an IM’s state changes and specifies an icon to display for the new state.
At a Glance
Header file: | Winuser.h |
Windows CE versions: | 2.10 and later |
Syntax
WM_IM_INFO wParam = (WPARAM) flag; lParam = (LPARAM) pdata;
Parameters
flag
Identifies the type of change incurred by the IM. It is one of the following values:
Value | Description |
IM_POSITION | The size or position of the IM has changed. |
IM_WIDEIMAGE | The IM has selected a new wide image (32x16 pixels) to associate with its current state. |
IM_NARROWIMAGE | The IM has selected a new narrow image (16x16 pixels) to associate with its current state. |
pdata
Pointer to data related to the specific type of change incurred by the IM. It is one of the following values:
Value | Description |
IM_POSITION | The lParam parameter is not used. To retrieve the current position of the IM window, call the SipGetInfo function. |
IM_WIDEIMAGE | The lParam parameter is set to the handle of a wide image icon. |
IM_NARROWIMAGE | The lParam parameter is set to the handle of a narrow image icon. |
Return Values
When an application processes this message, it should return zero.