Share via


CImeCUICandWindow::CCandListArea::Item::SetSize (Windows Embedded CE 6.0)

1/6/2010

This method sets the size of the bounding rectangle of the item after adjustments are made by the IME.

Syntax

static void SetSize(
  HANDLE hMetrics,
  SIZE* pSize
);

Parameters

  • pSize
    [in] Pointer to a SIZE structure that specifies the size of the bounding rectangle of the item.

Return Value

None.

Remarks

In some cases, the IME makes adjustments to the size of the bounding rectangle after the GetSize method returns the required size for the item. For example, if the item is too narrow, the IME widens the item to make enough space in the button information area.

Using this method, OEMs can update the item metrics that were initially calculated in CreateRenderingMetrics.

Requirements

Header imjpskin.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

CImeCUICandWindow
CImeCUICandWindow::CCandListArea::Item::CreateRenderingMetrics
CImeCUICandWindow::CCandListArea::Item::GetSize

Other Resources

SIZE