Partager via


WM_IM_INFO

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message is sent to a process that registers for IM notifications 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.

Syntax

WM_IM_INFO wParam = (WPARAM) flag; 
    lParam = (LPARAM) pdata;

Parameters

  • flag
    Identifies the type of change incurred by the IM. The following table shows the possible 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. The following table shows the possible 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 to a wide image icon.

    IM_NARROWIMAGE

    The lParam parameter is set to the handle to a narrow image icon.

Return Value

When an application processes this message, it should return zero.

Requirements

Header winuser.h
Windows Embedded CE Windows CE 2.10 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Other Resources