Platform SDK: International Features

ImmSetCandidateWindow

The ImmSetCandidateWindow function sets information about the candidate list window.

BOOL ImmSetCandidateWindow(
  HIMC hIMC,                   
  LPCANDIDATEFORM lpCandidate  
);

Parameters

hIMC
[in] Handle to the input context.
lpCandidate
[in] Pointer to a CANDIDATEFORM structure that contains information about the candidate window.

Return Values

If the function succeeds, the return value is a nonzero value.

If the function fails, the return value is zero.

Remarks

Both the IME and the application call this function.

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

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Imm.h.
  Library: Use Imm32.lib.

See Also

Input Method Editor Overview, Input Method Editor Functions, CANDIDATEFORM, IMN_SETCANDIDATEPOS