Freigeben über


IMINFO (Windows CE 5.0)

Send Feedback

This structure contains information regarding the size and available bitmaps for the input method (IM).

typedef struct{DWORD cbSize;HIMAGELIST hImageNarrow;HIMAGELIST hImageWide;int iNarrow;int iWide; DWORD fdwFlags;RECT rcSipRect;} IMINFO;

Members

  • cbSize
    Size of the IMINFO structure. This member must be filled in by the software-based input panel prior to calling IInputMethod::GetInfo.

  • hImageNarrow
    Handle to an image list that contains the narrow 16x16 masked bitmaps for the IM. The software-based input panel displays a bitmap from this image list to indicate the currently selected IM.

  • hImageWide
    Handle to an image list that contains the wide 32x16 masked bitmaps. The software-based input panel displays a bitmap from this image list to indicate the currently selected IM.

  • iNarrow
    Index to the hImageNarrow image list indicating which bitmap should be displayed by the software-based input panel. The IM can change the bitmap displayed in the software-based input panel taskbar button by calling IIMCallback::SetImInfo. The IM should change the bitmap on the Input Panel button when the IM is first selected into the software-based input panel.

  • iWide
    Index to the hImageWide image list indicating which bitmap should be displayed by the software-based input panel. The IM can change the bitmap displayed in the software-based input panel taskbar button by calling IIMCallback::SetImInfo. The IM should change the bitmap on the InputPanel button when the IM is first selected into the software-based input panel.

  • fdwFlags
    Specifies flags representing state information of the software-based input panel. It is any combination of the following bit flags.

    Value Description
    SIPF_DOCKED The software-based input panel is docked, or not floating.
    SIPF_LOCKED The software-based input panel is locked, meaning that the user cannot change its visible status.
    SIP_OFF The software-based input panel is off, or not visible.
    SIPF_ON The software-based input panel is on, or visible.

    The SIP state flags are ignored for the SipGetInfo function, but are used in the IIMCallback::SetImInfo callback method.

  • rcSipRect
    Rectangle, in screen coordinates, representing the size and location of the software-based input panel. This sizing and placement information, returned from IInputMethod::GetInfo, is optionally used by the software-based input panel to determine the default size and placement for the software-based input panel. The IIMCallback::SetImInfo method specifies the new size and placement of the software-based input panel window.

Remarks

The Input Panel button displays the 32x16 bitmap button when there are only a few other controls on the taskbar. At times, there may not be enough room on the taskbar to display all the controls. During these times, the Input Panel button shrinks to half its normal width and uses the 16x16 bitmap.

Requirements

OS Versions: Windows CE 2.01 and later.
Header: Sip.h.

See Also

SipGetInfo | IInputMethod::GetInfo | IIMCallback::SetImInfo

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.