Share via


CImeCUICandWindow::GetHorizontalOffset (Windows Embedded CE 6.0)

1/6/2010

This method determines the horizontal offset at which the IME candidate window is drawn.

Syntax

static DWORD GetHorizontalOffset(void);

Parameters

None.

Return Value

The return value is the horizontal offset, in pixels, at which the candidate window is drawn, from the position specified by the Input Method Manager (IMM).

Remarks

Candidate strings in the candidate window should be horizontally aligned with the composition string. An application usually notifies the IME of the candidate window position. This is the position of the target clause in the composition string. The IME must move the candidate window position to the left because there are margins and an accelerator button in the candidate window. OEMs can use the GetHorizontalOffset method to set how the IME adjusts the candidate window position horizontally.

Requirements

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

See Also

Reference

CImeCUICandWindow