WM_IM_INFO

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 IMs state changes and specifies an icon to display for the new state.

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.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.10 and later Winuser.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.