This structure contains information regarding the size and available bitmaps for the input method (IM).
At a Glance
Header file: | Server.h (Sip.idl for Palm-size PC) |
Windows CE versions: | 2.01 and later |
Syntax
typedef struct {
DWORD cbSize;
HIMAGELIST hImageNarrow;
HIMAGELIST hImageWide;
int iNarrow;
int iWide;
DWORD fdwFlags;
RECT rcSipRect;
} IMINFO;
Members
cbSize
Size of the IMINFO structure. For the Palm-size PC, this member must be filled in by the input panel prior to calling IInputMethod::GetInfo.
hImageNarrow
Handle to an image list that contains the narrow 16x16 masked bitmaps for the IM. The 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 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 input panel. The IM can change the bitmap displayed in the 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 input panel.
iWide
Index to the hImageWide image list indicating which bitmap should be displayed by the input panel. The IM can change the bitmap displayed in the 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 input panel.
rcSipRect
Rectangle, in screen coordinates, representing the size and location of the input panel. This sizing and placement information, returned from IInputMethod::GetInfo, is optionally used by the input panel to determine the default size and placement for the input panel. The IIMCallback::SetImInfo method specifies the new size and placement of the 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.