CImeCUICandWindow::CCandListArea::Item::SetSize (Windows CE 5.0)
This method sets the size of the bounding rectangle of the item after adjustments are made by the IME.
static void SetSize( HANDLE hMetrics, SIZE* pSize);
Parameters
- hMetrics
[in] Handle that was returned by the CreateRenderingMetrics method. - pSize
[in] Pointer to a SIZE structure that specifies the size of the bounding rectangle of the item.
Return Values
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
OS Versions: Windows CE .NET 4.2 and later.
Header: Imjpskin.h.
See Also
CImeCUICandWindow | SIZE | CreateRenderingMetrics | GetSize
Send Feedback on this topic to the authors