ImmSetCandidateWindow

This function sets information about the candidate list window.

At a Glance

Header file: Imm.h
Windows CE versions: 2.10 and later (Japanese version 1.0 and later)

Syntax

BOOL ImmSetCandidateWindow(HIMC hIMC, LPCANDIDATEFORM lpCandidate);

Parameters

hIMC

[in] Handle to the input context.

lpCandidate

[in] Long pointer to the CANDIDATEFORM structure that contains information about the candidate window.

Return Values

Nonzero indicates success. Zero indicates failure.

Remarks

ImmSetCandidateWindow causes an IMN_SETCANDIDATEPOS message to be sent to the application.

In Japanese versions 1.0 and later, the ImmSetCandidateWindow function allows an index range of 0 to 4 for the dwIndex member of the CANDIDATEFORM structure. In Windows CE versions 2.10 and later, an index range of 0 to 3 is allowed.

See Also

CANDIDATEFORM